This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
Error using Struts Validator
Javascript and Struts validator
What Are the Causes for Validation Not Doing Anything?
Struts Validator Configuration
why does my application not perform server side validations?