What is HTTPServlet class?

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.
What is Servlet context?
Servlet context is created by the container and can be viewed as a shared memory resource for all the servlets for a web application.....
Explain session tracking in Java Servlet
The state of requests for the same user is being maintained by the session of a servlet....
Describe Servlet collaboration
Servlet collaboration is all about sharing information among the servlets..
Post your comment