Given the code fragment:
Which method should be used on line 3 to enable default validation mechanism?
D
Explanation:
Reference:
How do you specify a default error page in your web.xml file?
B
Explanation:
Reference:
Given the code fragment:
And
Which two steps, when performed independently, enable the index.xhtml page to print the following
text: The Id is 12345? (Choose two.)
D,F
Given:
How often does the submitted task run?
A
: 15
Given:
What code needs to be added to line 1 for MyMapper bean instances to be correctly passivated?
D
Explanation:
Reference:
Which URL represents an invalid approach to pass a parameter to a REST resource?
D
Given:
If an exception is thrown inside the if block, what effect will it have on the transaction?
C
Given the code fragments:
What code should you add to the body of the updateEmployee method in order to save pending
changes to the database?
B
When handling a JSF request, your application code decided to redirect the call to another URL by
using HTTP redirect. Which action should you take to correctly complete the handling of the JSF life
cycle?
C
Given the code fragment:
When the context root is requested
http://host:port/context
, how does the container resolve this
mapping?
C