File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts 1: is validator-rules.xml mandatory in every app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1: is validator-rules.xml mandatory in every app" Watch "Struts 1: is validator-rules.xml mandatory in every app" New topic
Author

Struts 1: is validator-rules.xml mandatory in every app

shanky raja
Greenhorn

Joined: Dec 19, 2011
Posts: 17

Hi All,

Please tell me is validator-rules.xml required even if i am using only 'required' validation and no custom validation in an application ?

Thanks
Raaja Gotluru
Ranch Hand

Joined: Mar 02, 2010
Posts: 112
Hi,

Its better to have validation-rules.xml as you are using the predefined condition "required". The rule "required" is configured in this xml file only.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 1: is validator-rules.xml mandatory in every app