Do not use <s:form action="/j_security_check">  use a normal <form
action="/j_security_check">

I think you could also do a 
<s:url value="/j_security_check" id="loginPost"/>
<s:form action="%{#loginPost}">






Raghuveer Rawat-2 wrote:
> 
> Hi, I am trying to setup my struts2 login form for spring security..
> I have to specify action as* "/j_security_check"* but struts2 is appending
> .action with the action value and eventually my action is becoming  *
> "/j_security_check.action"* and that is not I want.
> 
> How can prevent struts2 to append *[.action]* with action value for this
> particular case?
> 
> Thanks
> Raghu
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-Struts2--Login-form-for-spring-security2.0-tp21551696p21556147.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to