What is the difference between validation.xml and validator-rules.xml files in Struts?
S.no | Validator-rules.xml | Validation.xml |
---|---|---|
1. | Defines standard validation routines | Defines validations that apply to form bean |
2. | For global specific rules | For application specific rules |
3. | Contain logic for validation | Contains types of validation |
BY Best Interview Question ON 15 Jan 2019