How to carryout the validations in struts if the validator
frame work cant handle the validation
Answer Posted / sitaram
There are two types of validations in Struts.
1.by using validator method in form bean.
2.by using validator.XML file in the struts. that
vlalidators are declared in validator.XML.
The validator frame work handle the validation. he
validation are declaring in validator.xml.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is form bean in struts?
Can we handle exceptions in Struts programmatically?
Is Struts Framework part of J2EE?
What are apache struts?
What is action support class in struts2?
Provide some important Struts2 constants that you have used?
What are the important methods of actionform?
What is the purpose of @validations annotation?
What is front controller in struts?
How can duplicate form submission be handled in struts 2?
Why do we need struts?
How can forward action be used to restrict a strut application to mvc?
What is role of action class?
Does Struts2 action and interceptors are thread safe?
Can we have multiple struts config files in a single web app?