Use the redirect result type:

<result name="success" type="redirect">/path/to/target</result>

See:

http://cwiki.apache.org/WW/result-types.html

for more info.


David


Mikolaj Rydzewski wrote:
Hi,

I'm not new to struts, but new to struts2. I have read a few tutorials, and some pages on the wiki and I think I'll use struts2 in future projects ;-)

How can I achieve the functionality of ActionRedirect from the 'old' struts? I want my action to redirect to another url with some parameters added.


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

Reply via email to