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 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 Android Security Essentials Live Lessons this week in the Android 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
 
It is sorta covered in the JavaRanch Style Guide.
 
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