什么情况下调用doGet()和doPost()?
什么情况下调用doGet()和doPost()?
相关考题:
在J2EE中,对于HttpServlet类的描述,正确的是()。 A.我们自己编写的Servlet继承了HttpServlet类,一般只需覆盖doPost或者doGet方法,不必覆盖service()方法。因为一个service()方法是空的B.HttpServlet类扩展了GenericServlet类,实现了GenericServlet类的抽象方法service()C.HttpServlet类有两个service()方法D.我们自己编写的Servlet继承了HttpServlet类,一般只需覆盖doPost或者doGet方法,不必覆盖service()方法。因为一个service()方法会调用doPost或者doGet方法
31、在Servlet中doGet 方法和 doPost 方法中的两个参数是什么?A.HttpServletRequestB.HttpFormActionC.HttpFormReplyD.HttpServletResponse