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

How to get data from the velocity page in a action class?

748


What is the use of jsonvalidation in struts?

740


When it’s useful to use IncludeAction?

743


What is the different actions available in struts?

746


What are apache struts?

694


What are struts in java?

684


Does struts include its own unit tests?

739


What is the difference between struts and spring?

706


How can duplicate form submission be handled in struts 2?

734


How many servlet controllers are used in a Struts Application?

822


Explain about how requests from the client are sent?

690


How we can configured action mapping in struts?

769


Describe validate() and reset() methods.

797


How to use forward action to restrict a strut application to mvc?

800


What is the purpose of struts.properties in struct2?

709