Meaningless Drivel is fun!*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "generic servlet and http servlet" Watch "generic servlet and http servlet" New topic
Author

generic servlet and http servlet

SIMPLE MAN
Greenhorn

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

Joined: Jan 30, 2000
Posts: 3222
    
    5
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 : http://java.sun.com/docs/books/tutorial/servlets/index.html "Straight from The Horses' Mouth"
And please read this: http://www.javaranch.com/ubb/Forum10/HTML/000180.html

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: generic servlet and http servlet