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 What is difference between Servlet and GenericServlet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "What is difference between Servlet and GenericServlet?" Watch "What is difference between Servlet and GenericServlet?" New topic
Author

What is difference between Servlet and GenericServlet?

Deepthi Tanguturi
Greenhorn

Joined: Sep 06, 2011
Posts: 17
What is difference between Servlet and GenericServlet?
Gopakumar Naryanan
Ranch Hand

Joined: Jan 15, 2011
Posts: 72

Hi deepthi,

Servlet is an interface and GenericServlet is an abstract class .
GenericServlet implements Servlet interface and ServletConfig interface but it doesn't provide body for service() method.


Thanks
Gopakumar


Thanks & Regards
Gopakumar
 
Have you checked out Aspose?
 
subject: What is difference between Servlet and GenericServlet?
 
jQuery in Action, 3rd edition