2013/9/12 Mohit Gupta <motgu...@gmail.com>:
> Lukasz, is there any workaround so that i can get rid of namespace?
>
> As i mentioned if i hard code the url under location attribute, it works
> fine and does not add any namespace
>
> @Result(name = ComposeMessageCrudAction.REDIRECT_TO, location =
> "/customerhome.do?custIdId=200", type = "redirect") })
>
>
> But if mention any dynamic value(like getting it from
> #parameters.redirectLocation
> or ${redirectLocation} ), it does not work
> @Result(name = "redirectTo", location = "#parameters.redirectLocation",
> type = "redirect") })

Are you sure that you return "/customerhome.do?custIdId=200" ("/" is
important) from getRedirectLocation() ? And #parameters cannot work as
${} or %{} is the only expected opening char for an expression.
Instead ${#parameters.redirectLocation} will work.


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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

Reply via email to