This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Struts and the fly likes difference validation ,validator-rules Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "difference validation ,validator-rules" Watch "difference validation ,validator-rules" New topic

difference validation ,validator-rules

rex tony
Ranch Hand

Joined: Aug 29, 2007
Posts: 159
what is the difference between validation.xml,validator-rules.xml?
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The validator-rules.xml file is provided by Struts and contains the definitions for the "out of the box" validation rules.

The validation.xml file is unique to your application, which means that you have to create it. It contains <form> and <field> elements defining the specific validations for your application. For examples, see the struts-examples-1.3.x.war and struts-blank-1.3.x.war files that come with the download.

Consultant, Sima Solutions
jQuery in Action, 3rd edition
subject: difference validation ,validator-rules
It's not a secret anymore!