How do you override a service method?

You can override service method in HttpServlet also. If you override service method in HttpServlet then call will go to service() method instead of doGet() or doPost() method. then also call will go to service method of the servlet. Call don't go to doPost() method.

Related posts: