my dog learned polymorphism
The moose likes Servlets and the fly likes HttpServlet and GenericServlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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
 
I agree. Here's the link: jrebel
 
subject: HttpServlet and GenericServlet
 
Similar Threads
What Protocols does servlets supports?
GenericServlet class and HttpServlet class
Regarding init parameters
Service method
Web Server & Servlets