A "request" is a server-side processing which refers to the transaction between a
browser and the server. When someone enters a URL, the browser sends
a "request" to the server for that URL, and shows returned data. As a part
of this "request", various data is available, including the file the browser
wants from the server, and if the request is coming from pressing a SUBMIT
button, the information the user has entered in the form fields.
The JSP "request" variable is used to obtain information from the request as
sent by the browser. For instance, you can find out the name of the client's
host (if available, otherwise the IP address will be returned.) Let us modify
the code as shown:
|