> The service() method in HttpServlet checks the request HTTP
> method and calls doGet(), doPost(), doHead(), etc.  The
> default implementations in HttpServlet simply output a
> message to let the world know you messed up.  For 
> GenericServlet you override service() and provide your
> own checking of the HTTP method, if desired.

I don't think you can get HTTP method in GenericServlet, since it's "service()" method 
is invoked with ServletRequest, not with HttpServletRequest object. ServletRequest 
object doesn't have HTTP method in it.

Nix.


Reply via email to