Multiple Choice
Consider the following code fragment:
Public String checkCity()
{
Zone = getTimeZone(city) ;
If (zone == null) { return "error"; }
Return "next";
}
What is the result of executing the following JSF statement if zone is null?
<h:commandButton value="Submit" action="#{timeZoneBean.checkCity}"/>
A) An error message is printed.
B) The error.html page is displayed.
C) The next.html page is displayed.
D) The same page is displayed again.
Correct Answer:

Verified
Correct Answer:
Verified
Q5: If a JavaBean property has only a
Q8: The JSF tags are dynamically translated into
Q15: What does the value expression timeBean.time do?<br>A)
Q29: _ of a bean component can be
Q38: _ support the separation of presentation and
Q39: One of the corresponding methods for a
Q41: When a submit button is pressed in
Q45: All application files in a web application
Q51: JSF pages define the _ of a
Q58: One of the required steps in designing