2013/3/9 john lee :
> i just checked your demo, looks like the first tricky is to define proxy
> action name signin in struts.xml
It isn't any trick, it's the normal why how to define many actions
base on one action class.
> struts.xml
>
>
> /example/Login.jsp
> Welcome
>
>
> *
?
is this the only way to lett struts2/spring validation works?
thanks so much in advance
john
From: Lukasz Lenart
To: Struts Users Mailing List ; john lee
Sent: Friday, March 8, 2013 7:27 AM
Subject: Re: struts 2 validation if use with spring
2013/3/
2013/3/8 john lee :
> 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/
--
Lukasz,
thanks for your help, i just tried, but still not works
any other suggestion?
thanks in advance
john
From: Lukasz Lenart
To: Struts Users Mailing List
Sent: Friday, March 8, 2013 12:01 AM
Subject: Re: struts 2 validation if use with spring
2013/3/8 john lee :
>
As specified in the docs [1][2], validation file name must match schema:
class-name-validation.xml -> LoginAction-signin-validation.xml
[1]
http://struts.apache.org/development/2.x/docs/validation.html#Validation-DefiningValidationRules
[2]
http://struts
Problem
I use struts2/spring 3 as integration, and need to use struts2
validation.xml as well,
Basically, the action name in the login.jsp/struts.xml is pseudo class name,
but is implemented in
the applicationContext.xml
In order to let validation.xml works, I defined all the possible
XX
6 matches
Mail list logo