This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Servlets and the fly likes GenericServlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "GenericServlet" Watch "GenericServlet" New topic


Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
I just realized that I don't know anyone who has (to my knowledge) used javax.servlet.GenericServlet instead of the de-facto standard javax.servlet.http.HttpServlet. I would like to hear if you have used it -- and what you used it for (and with which appserver)...

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Steve Leach
Ranch Hand

Joined: Sep 24, 2003
Posts: 46
Do you mean is anyone using servlets for anything other than http web servers ? Or is anyone using GenericServlet rather than HttpServlet for http ?
I think that the people who designed the servlet spec were being cautions, and assuming that someone *might* in future want to use servlets for other protocols. As far as I am aware, no-one has yet.
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Exactly. I meant to ask whether anyone is using the Servlet API for processing something else than HTTP requests. I assume it would require explicit support from the web container...
I agree. Here's the link:
subject: GenericServlet
Similar Threads
"Head First Java" book help
how long before we get a book(if a winner)
XPlanner vs. .... (story/task management in an agile process)
controlling slug problems in the garden, organically
Can two different web application share a variable