7 Replies Latest reply on Aug 2, 2012 10:59 AM by 800839

    HttpServlet with service()


      I have a servlet which extends HttpServlet , can we override the service() for HttpServlet?
      For example I have the below in my HttpServlet like:-

      class CustomServlet extends HttpServlet {

      void doGet(..)

      void doPost(...)

      void service(..) // generic servlet method


      In such case whether all the 3 methods will get invoked including the service() as these are all container specific.
      Please clarify.