struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohit Gupta <motgu...@gmail.com>
Subject Re: Truncate namespace while forwarding the request to legacy action from struts 2?
Date Thu, 07 Mar 2013 11:47:37 GMT
Thanks lukasz

On Tue, Mar 5, 2013 at 1:38 AM, Lukasz Lenart <lukaszlenart@apache.org>wrote:

> 2013/3/4 Mohit Gupta <motgupta@gmail.com>:
> > But incase of redirect all request parameters needs to be passed manually
> > or struts 2 has some built in support for this
>
> There is struts.url.includeParams option but this is per application
> configuration. You can develop your own Redirect result which will
> extend ServletRedirectResult [1] but your version will re-write GET
> params.
>
> [1]
> http://struts.apache.org/release/2.3.x/struts2-core/apidocs/org/apache/struts2/dispatcher/ServletActionRedirectResult.html
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message