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



What is the difference between validation.xml and validator-rules.xml files in struts validation fra..

Answer / Upasna Singh Diwakar

validation.xml file contains the configuration for validators, form beans, and custom rules for specific forms in a Struts application. On the other hand, validator-rules.xml file is a separate file that contains reusable validation rules which can be shared across multiple validation.xml files.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Struts Interview Questions

Describe the mvc on struts?

1 Answers  


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

5 Answers   Aditya Birla, IBM,


What is the purpose of @doublerangefieldvalidator?

1 Answers  


What is the purpose of @customvalidator annotation?

1 Answers  


What is struts2 in java?

1 Answers  


i have a log in web application .... i want restrict the user for particular no of users what is procedure to develop thus application

2 Answers  


What are best practices to follow while developing Struts2 application?

1 Answers  


What are action errors and error and what are the consequences they impose?

1 Answers  


What is the purpose of @before annotation?

1 Answers  


What is the default location of result pages and how can we change it?

1 Answers  


Is struts efficient?

1 Answers  


How to convert struts to spring mvc?

1 Answers  


Categories