There is a page in between: 1) Page A - submit form 2) Action sets parameter1 and sends to Page A 3) Page A shows parameter1 4) Page A has a submit for another action that needs parameter1
Curiously, I tried assigning it to a <s:label>. It showed parameter1 ok ( 3) ), but the parameter was null in the action in 4). <s:textfield> with the same "name" property was ok... newton.dave wrote: > > --- wild_oscar <[EMAIL PROTECTED]> wrote: >>> Which tags are sent as parameters on a form? > > All form tags, unless you have an interceptor > configured to specifically exclude specific > parameters. > >> Putting it in another way...how can I send a value >> from the Action to the jsp and use that value in >> another action in the next request? > > On the *next* request? If there's no page between > requests you can chain your actions. If there is then > you'd have to include the parameter on the second form > using <s:hidden.../> or another mechanism. > > I'm still not sure I understand the issue, though. > > d. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Which-values-are-passed-to-the-action-with-a-s%3Asubmit-button--tf4522862.html#a12928431 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]