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
What configurations are stored in struts configuration file ?
What is the purpose of @element annotation annotation?
What are the main classes which are used in struts application?
What are the steps involved in creating a strut application?
What are the contents on web.xml in struts application ?
How is declarative handling of exceptions done in struts ?
What is validate() and reset() functions?
What is life cycle of an interceptor?
Can you explain the directory structure for a struts folder in brief ?
How does one create an action in struts 2?
What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?
How can we display all validation errors to user on jsp page?
What is the purpose of @result annotation?
How can we group related actions in one group in Struts?
How you will display validation fail errors on jsp page?