adspace


What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?

Answer Posted / Kunwar Prabhat Singh

Validation.xml is a configuration file that specifies which form beans to validate, while validator-rules.xml contains the actual validation rules for each property of the form beans. In other words, validation.xml defines what to validate, and validator-rules.xml defines how to validate.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is declarative handling of exceptions done in struts ?

1007


What do you know about validation plugin ?

1028


What is action chaining ?

1165


What are the contents on web.xml in struts application ?

1069


What is the difference between filters and interceptors ?

1312