tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Lipscombe" <a...@cobar.fsbusiness.co.uk>
Subject JSP form submit does not overwrite request parameter value
Date Tue, 02 Sep 2003 09:59:52 GMT
Folks,


I have a JSP that contains a form with some input fields. This JSP is
called
and passed a parameter in the request object.

i.e. http://<page_url>?myparam=abc


One of the input fields in the form has the name as the parameter.

i.e. <input name="myparam" .......>


However, when the form is submitted the original value that in the
request
"myparam" parameter does not get overwritten by the value that is
entered
into the input field.

Is this behaviour correct? I would have expected that the input field
value
would overwrite the original "myparam"  value...



TIA - Adam




Mime
View raw message