How to create validations?what are struts validation
components?
Answer Posted / n.ramakrishna goud
We can create two types of validations
1).Manually
2).Automated
we can create manual validation by implementing the
validate method in ActionForm ,DynaActionForm,Validator
or DynaValidatorForm
Also ,
we can use the automated validation like
Integer,email,creditcard etc., by providing the validation
in the following xml files.,
validation.xml
validation_rules.xml
| Is This Answer Correct ? | 11 Yes | 6 No |
Post New Answer View All Answers
What is execute method in struts?
What are Struts2 core components?
What are the applications of struts?
What is interceptor? And life cycle methods of interceptor?
What is ValueStack and OGNL?
Are the struts tags xhtml compliant ?
What does the term struts mean?
What is struts framework in java?
What is ognl?
Why are frameworks used?
How are interceptors and servlet filters different?
What is the use of token interceptor in Struts2?
What is the default location of result pages and how can we change it?
Explain the difference between plain-validator and field-validator in struts?
What does action do in struts?