An online examination system tests your knowledge of jsp (the preferred choice for SUN Enterprise Applications). The Code is not very large, so no comments are added (http: // jsp (preferred for SUN Enterprise Applications) bbs.yeah.net)
Index. jsp (preferred for SUN Enterprise applications)
<Table border = "0" CELLPADDING = "0" CELLSPACING = "0">
<TR>
<Td valign = "TOP"> <font face = "Verdana, Arial, Helvetica, sans-serif">
<Div align = "RIGHT">
<Font size = "-1"> <a href = "/developer/Quizzes/index.html"> Quizzes
Index </A> </FONT> </DIV>
<H2 ALIGN = "RIGHT"> <font color = "# fffff"> jsp (preferred for SUN Enterprise Applications) Professional, Chapter 12
Quiz </FONT> </H2>
<H4 ALIGN = "RIGHT"> <EM> by Dan Malks </EM> </H4>
<Table border = "0" CELLPADDING = "0" CELLSPACING = "0">
<TR> <TD>
</TD> <font face = "Verdana, Arial, Helvetica, sans-serif">
The <I> <
HREF = "/developer/Books/jsp (preferred for SUN Enterprise Applications)/index.html"> jsp (preferred for SUN Enterprise Applications) Professional: Chapter 12, jsp (preferred for SUN Enterprise applications)
Archictecture </A> </I> Test your knowledge on the differences between servlets
And jsp (preferred for SUN Enterprise applications), Factor Forward-Factor Back, page-centric verses the dispatcher
Approach, and more.
</FONT> </TD> </TR>
</TABLE>
<HR>
<! -- Form callthe answer. jsp (preferred for SUN Enterprise applications), which invokes the QuizResponses bean -->
<Form method = "POST" ACTION = "answer. jsp (preferred for SUN Enterprise Applications)">
<OL>
<! -- Question 1 -->
<LI> <font face = "Verdana, Arial, Helvetica, sans-serif"> Choose the statement
That best describes the relationship between assumerver
Pages <SUP> <font size = "-2"> TM </FONT> </SUP> (jsp (preferred for SUN Enterprise applications) <SUP> <font size = "-2"> TM </FONT> </SUP>)
And servlets: </FONT>
<BR>
<Table border = "0" CELLPADDING = "5" CELLSPACING = "0">
<TR> <TD> <font face = "Verdana, Arial, Helvetica, sans-serif"> <input name = "one"
TYPE = "RADIO" VALUE = "A"> & nbsp; A. </FONT> </TD>
<TD> <font face = "Verdana, Arial, Helvetica, sans-serif">
Servlets are built on jsp (preferred for SUN Enterprise Applications) semantics and all servlets are compiled to jsp (preferred for SUN Enterprise applications)
Pages for runtime usage <BR> </FONT> </TD> </TR>
<TR> <TD> <font face = "Verdana, Arial, Helvetica, sans-serif"> <input name = "one"
TYPE = "RADIO" VALUE = "B"> & nbsp; B. </FONT> </TD>
<TD> <font face = "Verdana, Arial, Helvetica, sans-serif"> jsp (preferred for SUN Enterprise applications) and servlets are
Unrelated technologies </FONT> </TD> </TR>
<TR> <TD> <font face = "Verdana, Arial, Helvetica, sans-serif"> <input name = "one"
TYPE = "RADIO" VALUE = "C"> & nbsp; C. </FONT> </TD>
<TD> <font face = "Verdana, Arial, Helvetica, sans-serif"> Servlets and jsp (preferred for SUN Enterprise Applications) are
Competing technologies for handling web requests. Servlets are being superceded
By jsp (preferred for SUN Enterprise applications), which is preferred. The two technologies are not useful in combination.
</FONT> </TD> </TR>
<TR> <TD> <font face = "Verdana, Arial, Helvetica, sans-serif"> <input name = "one"
TYPE = "RADIO" VALUE = "D"> & nbsp; D. </FONT> </TD>
<TD> <font face = "Verdana, Arial, Helvetica, sans-serif"> jsp (preferred for SUN Enterprise Applications) s are built on
Servlet semantics and all jsp (preferred for SUN Enterprise Applications) s are compiled to servlets for runtime usage
</FONT> </TD> </TR>
</TABLE>
<P>
<! -- Question 2 -->
<LI> <font face = "Verdana, Arial, Helvetica, sans-serif"> What is a benefit