adspace
What is the difference between validation.xml and validator-rules.xml files in struts?
Answer Posted / Nandeshwar Dubey
Validation.xml defines validators that are associated with ActionForm classes, while Validator-rules.xml contains custom validation rules for specific fields. The former file maps validators to forms, while the latter provides rules that can be shared across multiple forms.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers