The ServletActionRedirectResult.class  works for me also but the 
ServletRedirectResult.class does not.  The documentation states that both of 
these result types support parameter passing.

Steve

-----Original Message-----
From: Paweł Wielgus [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 07, 2008 9:11 AM
To: Struts Developers List
Subject: Re: Redirect Result Passing Parameters?

Hi Steve,
this works for me:
@Result (type=ServletActionRedirectResult.class, value = "list",
params = {"login", "${login}"})
don't forget getLogin() in action.

Best greetings,
Paweł Wielgus.


2008/11/7 Steve Wolke <[EMAIL PROTECTED]>:
> Hey all,
>
> I just got done chasing my tail by trying to get the passing of
> parameters to work with the Redirect Result as described in the 2.1.2
> guide at http://struts.apache.org/2.1.2/docs/redirect-result.html.
> Finally I decided to look at the code and noticed the code for appending
> the parameters to the redirected URL is not in the Redirect Result type
> and is only in the Redirect Action Result type.  Just wondering which
> one is suppose to be correct?  The docs or the Redirect Result type?
>
> Thanks,
>
> Steve
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to