How should servlet developers handle the HttpServlet’s service() methond
when extending HttpServlet?
- They should override the service()method in most cases;
- They should call the service()method from doGet()or doPost();
- They should call the service()method from the init()method;
- They should override at least one doXXX()method(such as doPost())