wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is difference between Servlet and GenericServlet?
 
Similar Threads
what is difference between Servlet and HTTPServlet package
do we need to know to this depth ?
difference between GenericServlet and HttpServlet
Web Server & Servlets
GenericServlet