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?
Set the immediate="true" attribute on the command button that was used to perform this call.
Invoke the dispatch() method on the ExternalContext object.
Invoke the setCurrentPhaseId(RENDER_RESPONSE) method on the FacesContext object.
Invoke the responseComplete() method on the FacesContext object.
Question 20
Given the code fragment: When the context root is requested http://host:port/context, how does the container resolve this mapping?