aspose file tools*
The moose likes Servlets and the fly likes Creating Servlet Without Exending? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Creating Servlet Without Exending?" Watch "Creating Servlet Without Exending?" New topic
Author

Creating Servlet Without Exending?

Mark Henryson
Ranch Hand

Joined: Jul 11, 2005
Posts: 200
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
Marshal

Joined: Mar 22, 2005
Posts: 42278
    
  64
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?


Ping & DNS - my free Android networking tools app
 
jQuery in Action, 2nd edition
 
subject: Creating Servlet Without Exending?