File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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
 
Don't get me started about those stupid light bulbs.
 
subject: HttpServlet and GenericServlet