What is HTTPServlet class?- The HTTPServlet class provides an abstract class that is to be sub classed which is suitable for a web site.
- The subclass of HTTPServlet class must override any one of the following methods:
- doGet() - doPost() - doPut() - doDelete() - init() - destroy() - getServletInfo()
- The service() method overriding has almost no reason because it handles the HTTP requests by the handler methods of HTTP request type such as doxxxx() methods.
|