October 2002
Beginner
816 pages
23h 32m
English
As you can see from Figure 3.4, when the HttpServlet receives a request from the browser, the service() method in the servlet is called, which in turn calls either the doGet() or doPost() methods in the servlet, depending on the type of HTTP request (GET or POST). The request data is received by the servlet from the browser as URL-encoded name-value pairs.

This method is called for every request received by the HttpServlet from the browser. It is optional for a servlet to override this method.
This method is called for every HTTP GET request received ...
Read now
Unlock full access