多项选择题
我们实现的基于HTTP协议的Servlet的服务方法签名正确的有()
A.publicvoiddoGet(ServletRequestreq,ServletResponseres)throwsIOException,ServletException
B.publicvoiddoPost(HttpServletRequestreq,HttpServletResponseres)throwsIOException,ServletException
C.publicvoidservice(HttpServletRequestreq,HttpServletResponseres)throwsIOException,ServletException
D.publicvoidservice(ServletRequestreq,ServletResponseres)throwsIOException,ServletException
相关考题
-
单项选择题
基于HTTP协议的Servlet都实现了接口()。
A.javax.servlet.Servlet
B.javax.servlet.GenericServlet
C.javax.servlet.http.HttpServlet -
单项选择题
基于HTTP协议的Servlet通常继承javax.servlet.http.HttpServlet,也可以继承()。
A.javax.servlet.Servlet
B.javax.servlet.GenericServlet
C.javax.servlet.http.HttpServlet -
单项选择题
基于HTTP协议的Servlet通常继承()
A.javax.servlet.Servlet
B.javax.servlet.GenericServlet
C.javax.servlet.http.HttpServlet
