HTTP Servlet

HTTP Servlet

HTTP Servlet is used to define Servlet protocols requested and sent over HTTP and response to a HTTP client.

This servlet class improves implementation and serializable interface of GenericServlet. HttpServlet also provides special methods which are http specific methods as they are doGet, doPost, doHead, doTTrace, doDelete, doOption etc.
  • doGet
  • doPost
  • doHead
  • doTTrace
  • doDelete
  • doOption
  • doPut