给定Servlet程序的代码如下所示:public class Servlet1 extends HttpServlet{
public void doGet(HttpServletRequest request,HttpServletResponse response) Throws ServletException, IOException{
System.out.println("get");
}
public void doPost(HttpServletRequest request,HttpServletResponse response) Throws ServletException, IOException{
System.out.println("post");