File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Generic Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Generic Servlet" Watch "Generic Servlet" New topic

Generic Servlet

Arunkumar Jadar

Joined: Mar 30, 2004
Posts: 4
Hi ,
Can you tell me when your java class extends only GenericServlet(not HttpServlet) and give me some expamples where your servlets extends only GenericServlet.
Thanking you.
eammon bannon
Ranch Hand

Joined: Mar 16, 2004
Posts: 140
You would extend GenericServlet when you needed a servlet which uses a protocol other than HTTP.
Arunkumar Jadar

Joined: Mar 30, 2004
Posts: 4
I agree. Here's the link:
subject: Generic Servlet
Similar Threads
Logging in servlet
servlet life cycle - init() method
Basic Servlet Doubt
Why does GenericServlet implement ServletConfig