Solved

Consider the Following Code Fragment: Public String CheckCity()

Question 66

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents