exam questions

Exam 1z0-900 All Questions

View all questions & answers for the 1z0-900 exam

Exam 1z0-900 topic 1 question 19 discussion

Actual exam question from Oracle's 1z0-900
Question #: 19
Topic #: 1
[All 1z0-900 Questions]

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?

  • A. Set the immediate="true" attribute on the command button that was used to perform this call.
  • B. Invoke the dispatch() method on the ExternalContext object.
  • C. Invoke the setCurrentPhaseId(RENDER_RESPONSE) method on the FacesContext object.
  • D. Invoke the responseComplete() method on the FacesContext object.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
orjava
7 months ago
Answer C or D.
upvoted 1 times
...
LeoAlioth
2 years, 2 months ago
according to this page https://docs.oracle.com/javaee/6/tutorial/doc/bnaqq.html, on a redirect you should call responseComplete ( answer D )
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago