A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
GenericServlet 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.
HttpServlet is an implementation of GenericServlet 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