Multiple Choice
Consider the following code fragment:
Public String checkCity()
{
Zone = getTimeZone(city) ;
If (zone == null) { return "error"; }
Return "next";
}
Which JSF statement will call this method?
A) <h:inputText value="#{timeZoneBean.city}"/>
B) <h:commandButton value="Submit" action="#{timeZoneBean.checkCity}"/>
C) <h:inputText value="#{timeZoneBean.City}"/>
D) <h:commandButton value="Submit" action="#{timeZoneBean.city}"/>
Correct Answer:

Verified
Correct Answer:
Verified
Q1: When deploying a JSF application, all class
Q24: The user interface of a web application
Q35: Where does the application program of a
Q42: The user interface of a JSF application
Q49: The application server listens to web requests,
Q54: The _ tag is used to specify
Q59: A set of JSF pages makes _.<br>A)
Q60: JSF page syntax is a mixture of
Q66: When <h:inputText value="#{timeBean.time}" /> is displayed, the
Q75: The expression #{timeBean.time} calls the _ method.<br>A)