How to carryout the validations in struts if the validator
frame work cant handle the validation

Answer Posted / sitaram

There are two types of validations in Struts.
1.by using validator method in form bean.
2.by using validator.XML file in the struts. that
vlalidators are declared in validator.XML.
The validator frame work handle the validation. he
validation are declaring in validator.xml.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of i18n interceptor?

764


What is the difference between session scope and request scope when saving formbean ?

792


Explain about the future of struts?

739


What are the custom tags?

731


What is the front controller in struts2?

717


How many struts config file can be created in struts?

681


What is strut web xml?

735


Why are struts tightly coupled?

780


1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they

2983


What is the difference between validation.xml and validator-rules.xml files in struts validation framework?

819


How the exceptions are handled in struts?

775


What is the life cycle of actionform?

780


What are the aware interfaces in struts2?

764


Why do we use struts?

868


Give the details of xml files used in validator framework?

807