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



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

Answer / 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

More Struts Interview Questions

What is the life cycle of actionform?

1 Answers  


How do I install struts?

1 Answers  


How properties of a form are validated in Struts?

1 Answers  


How are interceptors and servlet filters different?

1 Answers  


Where can I get help with struts?

1 Answers  


What is the purpose of @element?

1 Answers  


How do struts work?

1 Answers  


how handle when client send multiple request at atime for single servlet

5 Answers   Aditya Birla, IBM,


what is the disadvantages of using DynaActionForm in struts framework?

5 Answers   HCL,


What is struts and springs in java?

1 Answers  


What is struts?

1 Answers  


Explain about struts relation to html tags?

1 Answers  


Categories