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 the purpose of global-forwards tag in struct-config.xml?
What are the bundled validators?
Explain architecture of struts2?
What are the steps involved in creating a strut application?
What are construction struts?
Explain about the process of functioning of the struts program?
What is the purpose of @after?
What is pojo in struts2?
Explain about struts relation to html tags?
Which servlet does the struts framework use?
What is strut action mapping?
Can explain about the validations and in your project where did u used the validations?
Which technologies can be used at view layer in struts?
What is the purpose of @intrangefieldvalidator annotation?
Can you explain the directory structure for a struts folder in brief ?