This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Generic Servlet" Watch "Generic Servlet" New topic
Author

Generic Servlet

Shankar Narayana
Ranch Hand

Joined: Jan 08, 2003
Posts: 134
Hi,

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.

Thanks,
Shankar


"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
 
Consider Paul's rocket mass heater.
 
subject: Generic Servlet
 
It's not a secret anymore!