> 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.
- Re: HTTP method POST is not supported by this URL Nikola Milutinovic
- RE: HTTP method POST is not supported by this URL Larry Isaacs
- Re: HTTP method POST is not supported by this URL Nikola Milutinovic
- Re: HTTP method POST is not supported by this... Bo Xu
- Re: HTTP method POST is not supported by ... Nikola Milutinovic
- Re: HTTP method POST is not supported... Craig R. McClanahan
- RE: HTTP method POST is not supported by this URL Larry Isaacs
- RE: HTTP method POST is not supported by this URL Nikola Milutinovic
- RE: HTTP method POST is not supported by this URL Larry Isaacs
- HTTP method POST is not supported by this URL Andrew Willemsen