whats is mean Actionerrors and Actionerror?

Answer Posted / shaik baji

ActionErrors and ActionMessages are available in earlier
versions of struts framework.

Actionerror:
------------
The ActionError purpose is an encapsulation of an
individual error message returned by the validate() method
of an ActionForm, consisting of a message key. It was
deprecated in struts 1.3 onwords versions.

Actionerrors:
-------------
A class that encapsulates the error messages being reported
by the validate() method of an ActionForm. Validation
errors are either global to the entire ActionForm bean they
are associated with, or they are specific to a particular
bean property (and, therefore, a particular input field on
the corresponding form).

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of Struts.xml configuration file?

601


How duplicate form submission can be controlled in struts?

743


What are the conditions for actionform to work correctly?

607


What is the role of action class in struts?

651


How you will enable front-end validation based on the xml in validation.xml?

662






What is the purpose of @emailvalidator?

648


What are result types in struts?

663


What does it cost to replace struts?

589


What does execandwait interceptor?

629


What is the purpose of global-forwards tag in struct-config.xml?

664


What is difference between spring and struts?

595


What is the purpose of action-mappings tag in struct-config.xml?

669


What is the purpose of struct-config.xml in struct2?

645


What are the core classes of the struts framework?

595


How the exceptions are handled in struts?

613