wood burning stoves 2.0*
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Generic Servlet" Watch "Generic Servlet" New topic
Author

Generic Servlet

Arunkumar Jadar
Greenhorn

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
Greenhorn

Joined: Mar 30, 2004
Posts: 4
Thanks..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Generic Servlet
 
Similar Threads
Logging in servlet
servlet life cycle - init() method
getServletConfig()
Basic Servlet Doubt
Why does GenericServlet implement ServletConfig