Hi,
be carefull:

On Tue, 22 Jun 1999, pascal jacob wrote:
...
>
> Exemple:
> <FORM ACTION=/servlet/HelloClientServlet?param1=value1&param2=value2"
> METHOD=POST>
...
 If continued with:
  <INPUT TYPE=TEXT NAME=param3 VALUE="value3">
  <INPUT TYPE=submit .... >
 </FORM>

In previous form with params within query string  AND post method
behaviour depends on servlet engine:
Some of the engines treat them as equivalent as the form's input fields,
(send param1, param2, param3 together, as belonging to request).

Others don't include them as request's parameters, considering
"valid" parameters only those sent through POST (they decode the
query string only for GET requests).

As a general rule, servlet should sepparately decode the query string,
if the request was a POST.

Cezar.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to