Use a hiden input :

<html:form action="/myapp/prodgroups">
  <html:hidden property="myProp" value=""/>

Hiden value can be a runtime expression (EL if you use the JSTL like struts taglib) You can also not set value in JSP but in the form-bean, and use struts mapping between form-bean ant HTML form.

Nico.

Henning Moll a écrit :

Hi!

I use the <html:form> tag in my jsps. For example:

<html:form action="/prodgroups">

This will be rendered to

...
<form name="pgForm" action="/myapp/prodgroups.do">
...

Now i need to have an parameter in that action, something like this:

...
<form name="pgForm" action="/myapp/prodgroups.do;param1=value1">
...

At least the value needs to be dynamic. I can't find a solution. Any suggestions?

Kind regards
Henning


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to