File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes GenericSevlet and HttpServlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "GenericSevlet and HttpServlet" Watch "GenericSevlet and HttpServlet" New topic
Author

GenericSevlet and HttpServlet

Raj chiru
Ranch Hand

Joined: Aug 12, 2008
Posts: 141
Hi...
Any body explain to what is difference between GenericSevlet and HttpServlet? and why HttpServlet declared abstact?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39541
    
  27
The key is in the javadocs of GenericServlet: "Defines a generic, protocol-independent servlet." The original authors of the servlet spec envisioned other protocols besides HTTP. So far, there haven't been any other protocols, but that's going to change with Servlet API 3.0 and its support for SIP.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: GenericSevlet and HttpServlet
 
Similar Threads
Qn on HttpServlet
doGet method
Servlets class
Basic Servlet Doubt
HttpServlet