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
Q23: The purpose of a JSF page is
Q24: The user interface of a web application
Q25: To query a database, a JavaBean needs
Q26: If the scope of a managed bean
Q27: A method _ specifies a bean and
Q29: _ of a bean component can be
Q30: Both Swing and JSF handle the tedious
Q31: Consider the following code fragment: public String
Q32: What does the second period in the
Q33: Which method(s) will this line from a