struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Brown" <donald.br...@gmail.com>
Subject Re: [Struts2] Redirect forward
Date Mon, 23 Oct 2006 18:09:29 GMT
Use the action-redirect result type.  IIRC, you can add parameters to
it via the XML, but use OGNL expressions for the value.  Then, the
values will be pulled out of the stack (usually from an Action
getter).

Don

On 10/23/06, Mikolaj Rydzewski <miki@ceti.pl> 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.
>
> --
> Mikolaj Rydzewski <miki@ceti.pl>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message