• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
shanky raja
Greenhorn
Posts: 17
Eclipse IDE Java
  • 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
  • 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
Boost this thread!