This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 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
 
Similar Threads
why does my application not perform server side validations?
What Are the Causes for Validation Not Doing Anything?
Struts Validator Configuration
Error using Struts Validator
Javascript and Struts validator