Answered Questions

  • What is the Servlet Interface?

    The central abstraction in the Servlet API is the Servlet interface. All servlets implement this interface, either directly or, more commonly, by extending a class that implements it such as HttpServlet.Servlets-->Generic Servlet-->HttpServlet-->MyServlet.The Servlet interface declares, but does not implement, methods that manage the servlet and its communications with clients. Servlet writers...

    trinadhd

    • Jul 7th, 2009

    It is nothing but an interface which contains set of method names (prototypes).Those are called servlet life cycle methods.init(ServletConfig)getServletConfig()service(SeveletRequest , ServletResponce...