Exam 1z0-900 All QuestionsBrowse all questions from this exam
Question 18

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?

    Correct Answer: D

    When you perform an HTTP redirect in a JSF application, you need to inform the JSF framework that the response has been fully handled and that it should not take any further action. This is done by calling the responseComplete() method on the FacesContext object. This method tells the JSF runtime that the response for this request has been generated, and the JSF lifecycle can be terminated at this point.

Discussion
LeoAliothOption: D

according to this page https://docs.oracle.com/javaee/6/tutorial/doc/bnaqq.html, on a redirect you should call responseComplete ( answer D )

orjava

Answer C or D.