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 are pull and push mvc architecture and which architecture does struts2 follow?
Explain about struts dispatch action?
In which method of action class the business logic is executed?
How does one create an action in struts 2?
Give an alternative way to protect jsp’s with not much features from direct access.
Why use struts framework in java?
What is the default suffix for Struts2 action URI and how can we change it?
For a single Struts application, can we have multiple struts-config.xml files?
Explain about tiles?
What is the purpose of @requiredstringvalidator?
What is struts in java with example?
Can we have multiple struts config files in a single web app?
What is struts framework in java?
How can duplicate form submission be handled in struts 2?
Is struts mvc framework?