@WebServlet(name = "Servletdomend2") ① public class Servletdomend2 extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { ② } protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { ③ } } |