当前位置:SCWCD(310-083)题库

问题:

[单选]

Given:
11.public class MyServlet extends HttpServlet {
12.public void service(HttpServletRequest request,
13.HttpServletResponse response)
14.throws ServletException, IOException {
15.// insert code here
16.}
17.}
and this element in the web application’s deployment descriptor:
<error-page>
<error-code>302</error-code>
<location>/html/error.html</location>
</error-page>
Which,inserted at line 15,causes the container to redirect control to the error.html resource?()

A . response.setError(302);
B . response.sendError(302);
C . response.setStatus(302);
D . response.sendRedirect(302);
E . response.sendErrorRedirect(302);

违反()原则,拒不执行或者擅自改变党组织作出的重大决定,或者违反议事规则,个人或者少数人决定重大问题的,给予警告或者严重警告处分;情节严重的,给予撤销党内职务或者留党察看处分。 下列哪些产业被列入四川六大支柱产业?() 纺织服装。 饮料食品。 石油化工。 冶金机械。 电子信息。 如何启动和关闭SyGate服务? 以下说法,错误的是()。 由于主板更新换代的速度与操作系统软件的更新速度可能不匹配,很多主板芯片组无法被操作系统正确识别。 主板芯片生产厂家通常在发布一款芯片时随之发布其驱动程序。 几乎所有的主板都提供可执行的安装程序。 没必要为主板安装驱动程序。 船舶的最大高度是从船舶的确()垂直量至船舶固定建筑物的最高点的距离。 空载水线面。 满载水线面。 龙骨下缘。 龙骨上缘。

Given:
11.public class MyServlet extends HttpServlet {
12.public void service(HttpServletRequest request,
13.HttpServletResponse response)
14.throws ServletException, IOException {
15.// insert code here
16.}
17.}
and this element in the web application’s deployment descriptor:
<error-page>
<error-code>302</error-code>
<location>/html/error.html</location>
</error-page>
Which,inserted at line 15,causes the container to redirect control to the error.html resource?()

参考答案:

  参考解析

本题暂无解析

在线 客服