File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes generic servlet and http servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "generic servlet and http servlet" Watch "generic servlet and http servlet" New topic

generic servlet and http servlet


Joined: Nov 30, 2000
Posts: 3
what is the difference between generic servlet and http servlet?
Tony Alicea

Joined: Jan 30, 2000
Posts: 3222
The relationship is: GenericServlet is an abstract class and HttpServlet is a concrete implementation of said class. BTW, the fully qualified names of those classes are: javax.servlet.GenericServlet and javax.servlet.http.HttpServlet The following tutorial awaits you with a smile : "Straight from The Horses' Mouth"
And please read this:

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
subject: generic servlet and http servlet
It's not a secret anymore!