This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Servlets and the fly likes Generic Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Generic Servlet" Watch "Generic Servlet" New topic

Generic Servlet

Shankar Narayana
Ranch Hand

Joined: Jan 08, 2003
Posts: 134

Can anyone give an example of why to use GenericServlet, I know if we want to use other protocol than Http we use GenericServlet, but an example application would be helpful in knowing what servlets can really do.


"Failure is not when you fall down; its only when you fail to get up again."
Leandro Melo
Ranch Hand

Joined: Mar 27, 2004
Posts: 401
GenericServlet exists for the sake of someone writting an specifi servlet to their own protocol. However, 99.9999999% of the people only work with http servlets. So, maybe there's someone working with a non-http servlet, but nobody has heard about it!
So, if there's anyone using a non-http servlet, I also would like to see

Leandro Melo
SCJP 1.4, SCWCD 1.4
I agree. Here's the link:
subject: Generic Servlet
It's not a secret anymore!