Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between GenericServlet and HttpServlet

 
suresh
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
difference between GenericServlet and HttpServlet
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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 ]
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic