打印本文 打印本文  关闭窗口 关闭窗口
jsp在线考试系统-htm文件
作者:采集员 文章来源:来源于网络 点击数: 更新时间:2005/9/10 14:27:39
lay at runtime</FONT></TD></TR>
<TR><TD><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><INPUT NAME="nine"
TYPE="RADIO" VALUE="D"> &nbsp;D.</FONT></TD>
<TD><FONT FACE="Verdana, Arial, Helvetica, sans-serif"> The include method
transfers control to a dynamic resource, while the forward method allows for
dynamic substitution of another JPS pages output, returning control to the
calling resource</FONT></TD></TR>
</TABLE>

<P>
<!-- Question 10 -->
<LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif"> What line of code below
might be combined in the same JSP page with a validation guard (for
example,<code> &lt;% bean.validationGuard(); %&gt;</code> ), in order to create
an alternate flow of control for scenarios in which exceptions arise. The
<code>validationGaurd</code> method might throw an exception, which should cause
the flow of control to continue in another user-defined page (assume JSP
1.0)</FONT>
<BR>
<TABLE BORDER="0" CELLPADDING="5" CELLSPACING="0">
<TR><TD><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><INPUT NAME="ten"
TYPE="RADIO" VALUE="A"> &nbsp;A.</FONT></TD>
<TD><FONT FACE="Verdana, Arial, Helvetica, sans-serif"> <CODE>&lt;jsp:error
page="errorPage.jsp" guard="true" /&gt;</CODE></FONT></TD></TR>
<TR><TD><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><INPUT NAME="ten"
TYPE="RADIO" VALUE="B"> &nbsp;B.</FONT></TD>
<TD><FONT FACE="Verdana, Arial, Helvetica, sans-serif"> <CODE>&lt;%@ page
language="java" buffer="8k" %&gt;</CODE>
</FONT></TD></TR>
<TR><TD><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><INPUT NAME="ten"
TYPE="RADIO" VALUE="C"> &nbsp;C.</FONT></TD>
<TD><FONT FACE="Verdana, Arial, Helvetica, sans-serif"> <CODE>&lt;jsp:useBean
id="bean" class="examples.Bean" scope="request" /&gt;</CODE></FONT></TD></TR>
<TR><TD><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><INPUT NAME="ten"
TYPE="RADIO" VALUE="D"> &nbsp;D.</FONT></TD>
<TD><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><CODE> &lt;%@ page
language="java" errorPage="errorPage.jsp" buffer="8k"
%&gt;</CODE></FONT></TD></TR>
</TABLE>

</OL>

<P>
<DIV ALIGN="CENTER">
<INPUT TYPE="SUBMIT" VALUE="Submit">
<INPUT TYPE="RESET">
</DIV>
</FORM>

</FONT>
</TD>
</TR>
</TABLE>

<P>

上一页  [1] [2] [3] 



打印本文 打印本文  关闭窗口 关闭窗口