This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "HttpServlet and GenericServlet" Watch "HttpServlet and GenericServlet" New topic

HttpServlet and GenericServlet

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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.
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:
subject: HttpServlet and GenericServlet
It's not a secret anymore!