Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

types of servlets  RSS feed

 
Ashish Anil Khadilkar
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will anyone tell me how many types of servlets are there other than HttpServlet and Generic Servlet?

Thanks in Advance

Ashish
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I look at the Servlet Interface API and:

All Known Implementing Classes:
GenericServlet

See Also:
GenericServlet, HttpServlet

That should be it.
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HttpServlet extends GenericServlet which in turn implements Servlet interface.

All you have to do is extend HttpServlet.

99.99% servlets do this.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!