Given an HttpServletRequest request and an EJB SessionContext ctx.
Which is a valid way to retrieve the Principal invoking either behavior?
Correct : A
Start a Discussions
Given the set of navigation rules:
Which two define a valid flow of view IDs through the application? (Choose two.)
Correct : C, D
Start a Discussions
How can a servlet indicate to the browser that cookie data should be sent over a secure connection?
Correct : A
Start a Discussions
Which two features are provided by the JSTL Core library for a JSP? (Choose two.)
Correct : A, D
Start a Discussions
You are building the User Preferences page of an application. A user can change values, such as his or her name, password, address, company, and so on. These values are sent to a CDI backing bean via AJAX when the user tabs out of each field. However, the values must be retained in the CDI bean and stored in the database only when the user clicks the Save button.
Which two scopes will allow your CDI bean to retain its state while the user is interacting with the User Preferences page? (Choose two.)
Correct : C, D
Start a Discussions