Can explain about the validations and in your project
where did u used the validations?

Answer Posted / jo

validations are nothing but we are validating the form
values, either it would be unames or passwords..
we can do validations in struts in 2 ways,
1. by overriding validate() in formbean class (or)
2. by using validator framework..

and we can do validations using both ways at a time..
that time we hav to call super.validate() in the validate()
of our formbean class.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of @requiredstringvalidator?

560


How client side validation is enabled on a jsp form?

590


What is the purpose of interceptors?

528


What is switchaction?

653


What do you mean by action errors and what are the results they force?

572






How to upload struts file?

602


What is the purpose of @createifnull annotation annotation?

615


What’s the utilization of resource bundle properties file in struts validation structure?

621


Are struts still used?

514


What is the use of jsonvalidation in struts?

549


What is xml based validation in struts2?

555


What are different ways to create Action classes in Struts2?

589


Does struts include its own unit tests?

520


How you will make available any message resources definitions file to the struts framework environment?

554


What are the core components of a struct2 based application?

552