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

How can we group related actions in one group in Struts?

746


What does params interceptor?

704


What are the life cycle methods of interceptor?

709


Which class of struts is responsible to converts data types from string and vice versa?

884


What does it cost to replace struts?

701


how to get the last 10 elements using logic:iterate in struts with hiernate from database.

4275


Why do we use struts?

829


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

765


What is use of i18n interceptor?

733


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

768


Give the details of xml files used in validator framework?

785


What is the purpose of @emailvalidator annotation?

680


What is package name in struts xml?

770


Which interceptor is responsible for file upload support?

801


What is http redirect?

777