A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
difference between Generic servlet & Httpservlet
Joined: Feb 05, 2006
Aug 18, 2006 05:00:00
what is the basic difference between Generic
Joined: Apr 14, 2004
Aug 18, 2006 05:11:00
exists to allow the handling of request using any protocol. Its abstract, so you implement how it handles whatever protocol you want it to support.
is an implementation of
that handles HTTP.
question. Please be more careful where you post things. Someone will move this shortly.
[ August 18, 2006: Message edited by: Paul Sturrock ]
Joined: Aug 18, 2006
Aug 18, 2006 05:36:00
generic servlet process the request using service() method.
Httpservlet process the request using doGet() and doPost()method.
Author and ninkuma
Joined: Jan 10, 2002
Aug 18, 2006 08:52:00
Please take the time to choose the appropriate forum for your questions. This forum is for JDBC questions.
As this question is asked many times in the
forum and is answered in the Servlets FAQ, I'm closing this topic.
[ August 18, 2006: Message edited by: Bear Bibeault ]
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: difference between Generic servlet & Httpservlet
generic servlet and http servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014