Details
-
Temp
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
1.2.9
-
None
-
None
-
XP
Tomcat 5.5
Java 1.5
Description
The <html:hidden> field values associated with an <html:form> are not added to the request when a submit is performed via <html:link>
For example:
<html:form action="/MyAction">
<html:hidden property="myID" value="1"/>
<html:link action="/MyAction">Method 1</html:link>
<html:submit>Method 2</html:submit>
</html:form>
"Method 1" link clicked:
- downstream action mapped by "/MyAction" returns null in response to request.getParameter("myID");
"Method 2" button clicked:
- downstream action mapped by "/MyAction" returns "1" in response to request.getParameter("myID");