Next: HTTPServletRequest
Up: Servlets
Previous: Servlet lifecycle
Contents
- Override doGet() to handle GET requests.
- Override doPost() to handle POST requests.
- Both methods take HTTPServletRequest and HTTPServletResponse as arguments.
- A few other methods, but used much less often - doDelete, doTrace, doOptions, doPut
Next: HTTPServletRequest
Up: Servlets
Previous: Servlet lifecycle
Contents