Re: How to pass a HTTP parameter to mapping.findForward() from Action.execute

2002-11-11 Thread Gemes Tibor
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 '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:   
For additional commands, e-mail: 




How to pass a HTTP parameter to mapping.findForward() from Action.execute

2002-11-11 Thread Zsolt Koppany
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?

Zsolt


--
To unsubscribe, e-mail:   
For additional commands, e-mail: