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 actionmapping?
What is filter dispatcher in struts?
Is struts efficient?
What is actioninvocation in struts2?
What inbuilt themes are provided by struts2?
What should be the name of xml file used for validation in struts?
Explain how to work with error tags?
Which file is used by controller to get mapping information for request routing?
Can you explain the directory structure for a struts folder in brief ?
Give an example of validates method used to avoid errors.
What is s token?
What is pojo in struts2?
What is the difference between validation.xml and validator-rules.xml files in struts?
How struts 2 validation works?
In which order struts framework searches for a message bundle?