In NetBeans 6.7.1, I have made a j2ee project,
In this project I have Servlet that extends HttpServlet,
Of whatever little I know about servlets, they should have a service method however in the class in NetBeans I find only thefollowing methods.
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {}
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {}
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {}
public String getServletInfo() {}
doGet and doPost in call the processRequest method. Where is the service method?