This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

GenericSevlet and HttpServlet

 
Raj chiru
Ranch Hand
Posts: 142
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...
Any body explain to what is difference between GenericSevlet and HttpServlet? and why HttpServlet declared abstact?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic