struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Redirect URLs have class names added after the action name with # or !
Date Tue, 18 Oct 2016 05:55:28 GMT
2016-10-17 16:30 GMT+02:00 Dhamelia, Krunal <Krunal.Dhamelia@tdsecurities.com>:
> Yep sorry I didn’t see that.
>
> Here is how redirect is configured
>
> LogonAction has method LogonSuccessful which at the end sets the variable "nextAction"
and returns the result "next" which is a redirect type of result with location param value
set to value of "nextAction".
>
>                 <action name="logonSuccessful" method="logonSuccessful" class="logonAction">
>                         <result name="input" type="tiles">login</result>
>                         <result name="next" type="redirect">
>                                 <param name="location">${nextAction}</param>
>                         </result>
>                         <result type="redirect" name="spring_security">
>                                 <param name="location">j_spring_security_check?j_username=${username}</param>
>                         </result>
>                 </action>

Hm.... looks good. Did you try to test on some other container? Tomcat or Jetty?


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