2002. november 11. 14:56 dátummal Zsolt Koppany ezt írtad:
> Hi,
>
> depending on run-time conditions I would like to pass HTML parameters to
> the URL that will be called via mapping.findForward() from
> Action.execute().
>
> How can I do that?

Add it to the <forward>'s path attribute. It works thou I use only one 
parameter in this case. I suspect some problem there since the ampersand used 
for adding more than one attribute must be escaped in the xml.
Or you can use 
new ActionForward("/myAction.do?asdf=jkl&qwe=yxcv");
Or you can pass them via request attributes.
I think that the 3rd is the preferred one.

Hth

Tib


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to