This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes doubt with generic servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "doubt with generic servlet" Watch "doubt with generic servlet" New topic
Author

doubt with generic servlet

yuvraj kotegar
Ranch Hand

Joined: Jul 31, 2008
Posts: 120
i just saw the code for generic servlet. it doesnt have any methods which are abstract in it. all hve method bodies.

but what made the developers to mark it abstarct??
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63211
    
  69

The Servlet Specification requires it to be abstract.

Since it makes no sense to instantiate a non-extended servlet, both GenericServlet and HttpServlet are abstract.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
yuvraj kotegar
Ranch Hand

Joined: Jul 31, 2008
Posts: 120
Thanks for the quick reply sir
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: doubt with generic servlet
 
jQuery in Action, 3rd edition