试题详情
- 单项选择题 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:
302 /html/error.html A、response.setError(302);
B、response.sendError(302);
C、response.setStatus(302);
D、response.sendRedirect(302);
E、response.sendErrorRedirect(302);
- B
关注下方微信公众号,在线模考后查看
热门试题
- 3. import&ensp
- 现有: class&ens
- 5. String&ensp
- Which are̳
- 为什么用面板来对组件进行排列?()
- 下面有关JVM内存,说法错误的是()。
- 以下关于Applet的描述,哪项错误?(
- 已知: 下面哪些代码是对构造函数的重载
- You are b
- 1. import&ensp
- public class&e
- Which option&en
- 以下关于Swing容器叙述,哪项错误?(
- Given a h
- 4位反序数,设N是一个四位数,它的9倍恰
- 现有: class&ens
- Given the&ensp
- 为了从文本文件中逐行读取内容,应该使用哪
- class Flibitz{
- public abstrac