struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Redirecting to legacy action from struts 2 action ?
Date Thu, 12 Sep 2013 12:46:37 GMT
2013/9/12 Mohit Gupta <motgupta@gmail.com>:
> Yes i am sure value is   "/customerhome.do?custIdId=200".
>
> Also do you mean that result mapping should be
> @Result(name = "redirectTo", location = " ${#parameters.redirectLocation} ",
> type = "redirect") })
>
> instead of
>
> @Result(name = "redirectTo", location = "#parameters.redirectLocation",
> type = "redirect") })

Yes
# - defines scope i.e. request, response, session, parameters, application
$, % - are expression opening chars (by default)

http://struts.apache.org/development/2.x/docs/ognl.html

And could you enabled debug for
org.apache.struts2.dispatcher.ServletRedirectResult ?


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