单项选择题
下面有关Servlet中service()方法说法不正确的是()
A.在init()方法正确执行完成后,service()将被容器调用
B.容器调用service()方法来处理客户端的请求
C.service()中有用于接受客户端请求信息的ServletResponse对象和用户对客户端进行相的ServletRequest对象
D.Servlet对象通过ServletRequest获取客户端的相关信息和请求信息
相关考题
-
单项选择题
下面哪个方法不是HttpServlet类:()
A.protected void doGet(HttpServletRequest reg,HttpServletResponse res) throws Servlet Exception ,java.io.IOException
B.protected void doPost(HttpServletRequest reg,HttpServletResponse res) throws Servlet Exception,java.io.IOException
C.protected void doHead(HttpServletRequest reg,HttpServletResponse res) throws Servlet Exception,java.io.IOException
D.protected void doReceive(HttpServletRequest reg,HttpServletResponse res) throws ServletException,java.io.IOException -
单项选择题
下面JSP内置对象的作用范围最大的是()
A.page
B.Application
C.Session
D.Request -
单项选择题
下面有关JSP注释说法不正确的是()
A、<!-- -->注释,和HTML文件中的注释很相似,唯一不同的是,前者可以在这个注释中用表达式
B、<!-- -->注释的内容在客户端是可见的
C、<%-- --%>注释的内容在客户端是可见的
D、<%-- --%>这个注释虽然写在JSP程序中,但是不会发送给用户