aspose file tools*
The moose likes Servlets and the fly likes HttpServlet and GenericServlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "HttpServlet and GenericServlet" Watch "HttpServlet and GenericServlet" New topic
Author

HttpServlet and GenericServlet

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi
Can any one tell me what is the basic difference between HttpServlet and GenericServlet other than that HttpServlet is used with Http protocol and GenericServlet can be used any protocol?
Thanks in Advance.
Rakesh
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Basically Generic servelets are the mother of all servelets.
Normally all the servlets are the subclasses of this Generic Sevlets.There is a major difference between Generic and http
(Servlets) for which you can refer Servlets by (O'reilly pubs).
I think it comes in the first or the second chapters.
I have it at the tip of my tongue but i am not able to recall it.
HOpe this helpful
 
 
subject: HttpServlet and GenericServlet