File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 41821
    
  62
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating Servlet Without Exending?