struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Truncate namespace while forwarding the request to legacy action from struts 2?
Date Mon, 04 Mar 2013 20:08:19 GMT
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
View raw message