What is the use of ActionErrors in Struts?

Answer Posted / surajkumar.java

ActionErrors is a class(org.apache.struts.action.ActionErrors)
which encapsulates the error messages being reported by the
validate() method of an ActionForm. Validation errors are
either global to the entire ActionForm bean or they are
specific to a particular ActionForm bean property. Each
individual error is described by an "ActionError" object,
which contains a message key which are mentioned in
"Application.properties" file.

Is This Answer Correct ?    22 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does apache struts run on windows?

729


Explain struts.devmode?

729


What are the struts2 configuration properties that control file uploading process?

812


What's the purpose of execute method of action class?

675


What’s the difference between struts and turbine?

761


Give the details of xml files used in validator framework?

770


Which servlet does the struts framework use?

708


Are struts still used?

670


What is struts2 in java?

720


Explain design patterns which is used in struts?

711


What is the use of struts config xml file?

650


Is struts mvc framework?

649


Can I have html form property without associated getter and setter formbean methods?

765


What do you mean by actionform?

726


What design patterns are used in struts?

730