Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating Servlet Without Exending?

 
Mark Henryson
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is possible to create a servlet witout extending HttpServlet, Servlet and Generic Servlet. Whether it is possible to create a servlet with extending some other classes/interfaces??
[ July 02, 2006: Message edited by: Bear Bibeault ]
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no need to use the existing classes, but it must implement the Servlet interface. The existing classes do a lot of work, though, which otherwise the servlet developer would have to do - why reinvent the wheel?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic