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 <lukaszlen...@apache.org>
To: Struts Users Mailing List <user@struts.apache.org>; john lee 
<sh_thorn_b...@yahoo.com> 
Sent: Friday, March 8, 2013 7:27 AM
Subject: Re: struts 2 validation if use with spring
 
2013/3/8 john lee <sh_thorn_b...@yahoo.com>:
> 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: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to