This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes validaion.xml and validaton-rules.xml file not calling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "validaion.xml and validaton-rules.xml file not calling" Watch "validaion.xml and validaton-rules.xml file not calling" New topic
Author

validaion.xml and validaton-rules.xml file not calling

Prakash Mani - Attur
Ranch Hand

Joined: Oct 08, 2009
Posts: 100
i am using validator framework for my struts application. i have created validation.xml and vcalidaton-rules.xml file and i have added validator plugin in struts-config.xml. also i am getting the message as "loading web-inf/validation.xml and web-inf/validation.rules.xml" when i start the application. i have added only three validator elements(required,minlength and integer) only in my validation-rules.xml file. below are the contents of validation.xml file.


whats my problem is when i submit the form without userName userId etc the validation is not occuring for anything.
FYI: i am getting 403 forbidden warning for the doctype i have added. is this the problem?
please help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: validaion.xml and validaton-rules.xml file not calling