> Hello Friends,
> I have used HTTPServlet, and I want to know the use of Generic
servlets.
> I have the following Questions.
>
> Under what circumtances are Generic servlet used and How are they used.
GenericServlet is an Abstract class, and as such, cannot be instantiated. It is meant
to be a superclass, and provides methods for the interfaces that it implements
(javax.servlet.Servlet and javax.servlet.ServletConfig)
>
> Can Generic Servlet be used instead of HTTPServlet.
>
No
> Any example code will be of great help to me.
>