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

On your JSF page, you have a form in which you have a command button:

A user submits the form by clicking the button, and no errors occur while processing the request. Which statement is true?

    Correct Answer: B

    In JSF (JavaServer Faces), when a form is submitted and a command button is clicked, the actionListener method is executed before the action method. The actionListener method is used to handle any phase-specific logic, and the action method is used to handle the application's business logic and navigation. Therefore, the listenCarefully() method will be executed first, followed by the actNow() method.

Discussion
orjavaOption: B

Answer B