This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 41148
    
  45
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?
 
Similar Threads
Nullpointer exception in servlet
can we write a program by implementing servlet?
Displaying JPanel in a Jlist or JTable
the major difference
servlet