File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
shanky raja
Greenhorn
Posts: 17
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 118
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic