This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic