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
How does struts2 token work?
For a single Struts application, can we have multiple struts-config.xml files?
What is strut web xml?
Difference between struts and spring? Or why use spring, if you are already using struts?
What are the loop holes of struts?
What’s the difference between struts and espresso?
How is token generated?
how does request processor relates to action mapping?
What do you mean by tiles in struts?
What is the default location of result pages and how can we change it?
What are the features of struts?
Can we have more than one struts-config.xml file for a single struts application?
What is struts actionmapping?
What are the main classes which are used in struts application?
Where should struts xml be placed?