Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

generic servlet and http servlet

 
SIMPLE MAN
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the difference between generic servlet and http servlet?
 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic