Re: Struts 2 xml validation doesn't work

2008-05-20 Thread smoonoz
Now working! 1) Created a new folder under resources matching the java package structure of the action: package: quickstart.action folder: src/main/resources/quickstart/action 2) Moved PersonAction-save-validation.xml there. it solved the problem. Thanks a lot Dave! -- View

Re: Struts 2 xml validation doesn't work

2008-05-20 Thread smoonoz
Hi Dave, The code is from tutorial: http://struts.apache.org/2.x/docs/struts-2-spring-2-jpa-ajax.html pom.xml fragments: 4.0.0 quickstart quickstart 0.1-SNAPSHOT war quickstart org.apache.struts struts2-spring-plugin 2.0.

Re: Struts 2 xml validation doesn't work

2008-05-20 Thread Dave Newton
You'll need to provide more information, like where your validation files are, their names, the configs of the actions that aren't validating, etc. I've never had any issues with XML validation, so I'd first check out the basics. (I'm also not running on Tomcat 6, which I suppose could cause a pro

Struts 2 xml validation doesn't work

2008-05-20 Thread smoonoz
Hi guys, I been following some spring 2 tutorials and cannot make struts 2 to validate forms using xml syntax. Annotations seem to work fine though. I'm running my apps using: Tomcat Version JVM Version JVM Vendor OS Name OS Version OS Architecture Apache Tomcat