Luckasz,
thanks for your great help,
i just checked your demo, looks like the first tricky is to define proxy action
name signin in struts.xml
struts.xml
<action name="signin" method="signin" class="loginAction">
<result name="input">/example/Login.jsp</result>
<result type="redirectAction">Welcome</result>
</action>
************************************************
and second tricky to define signin method in the file LoginAction.java
LoinAction.java
...
public String signin() {
return SUCCESS;
}
...
************************************************
my question next is:
why can not use Login-validation.xml directly ? but have to use your "proxy
method" to work around?
is this the only way to lett struts2/spring validation works?
thanks so much in advance
john
________________________________
From: Lukasz Lenart <[email protected]>
To: Struts Users Mailing List <[email protected]>; john lee
<[email protected]>
Sent: Friday, March 8, 2013 7:27 AM
Subject: Re: struts 2 validation if use with spring
2013/3/8 john lee <[email protected]>:
> Lukasz,
>
> thanks for your help, i just tried, but still not works
>
> any other suggestion?
I have prepared a small demo app
https://github.com/lukaszlenart/struts2-spring-validation
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]