You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Raghu <te...@gmail.com> on 2009/01/19 22:11:40 UTC

[Struts2] Login form for spring security2.0

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

Re: [Struts2] Login form for spring security2.0

Posted by dusty <du...@yahoo.com>.
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-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org