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 difference between GenericServlet and HttpServlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "difference between GenericServlet and HttpServlet" Watch "difference between GenericServlet and HttpServlet" New topic
Author

difference between GenericServlet and HttpServlet

suresh
Greenhorn

Joined: Mar 03, 2006
Posts: 3
difference between GenericServlet and HttpServlet
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

"registration hi",

You've already been warned to change your display name to adhere to JavaRanch standards.

Your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Be advised that accounts with invalid display names are removed.

bear
JavaRanch Sheriff
[ March 06, 2006: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"suresh",

Thanks for changing your display name, but it is still not valid. Please read Bear's request more closely.

This is your final warning

thanks,
Dave
chandroo shekoo
Greenhorn

Joined: Mar 02, 2006
Posts: 2
Hi,

First of all, Both Generic Servlet and HttpServlet are abstract.

GenericServlet has service() for servicing client requests but in HttpServlet we have Http methods like post and get to service the clients.

GenericServlet is used for generic protocols and HttpServlet is used specially for Http Protocols.

Thanks,
chandroo
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: difference between GenericServlet and HttpServlet