request.getParameter in a form; GET or POST methods ? differences ?
Hello all
This is a general question not related to a particular code;
is there a technical reason why a request form in a jsp page that passes values to anothe jsp page using "request.getParameter" works with GET method rather than POST ? (assuming that the pages are written without no errors).
thanks
Claudio
[344 byte] By [
granducaa] at [2007-10-2 16:27:08]

Read this:
GET
GET is the simplest, and probably, most used HTTP method. GET simply retrieves the data identified by the URL. If the URL refers to a script (CGI, servlet, and so on), it returns the data produced by the script.
POST
Like GET, POST is also widely used. Typically, POST is used in HTML forms. POST is used to transfer a block of data to the server in the entity body of the request.
[