What is the difference between validation.xml and validator-rules.xml files in struts?
Answer / 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 |
Can we have more than one struts-config.xml file for a single struts application?
What does params interceptor?
What are the reasons for an error message not being displayed while developing struts application?
What is difference between interceptors and filters?
What is difference between actionform and dynaactionform?
What is the main difference between Mvc1 and Mvc2 Architecture??
7 Answers IBM, Ness Technologies,
Can you explain struts.properties in struts2?
What is Struts Flow?
What is the purpose of @element annotation annotation?
why do we typecast ActionForm into our plain java bean class in Action class? What is the reason?
What are the contents on web.xml in struts application ?
Which design pattern is implemented by Struts2 interceptors?