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
What is the use of Struts.xml configuration file?
How duplicate form submission can be controlled in struts?
What are the conditions for actionform to work correctly?
What is the role of action class in struts?
How you will enable front-end validation based on the xml in validation.xml?
What is the purpose of @emailvalidator?
What are result types in struts?
What does it cost to replace struts?
What does execandwait interceptor?
What is the purpose of global-forwards tag in struct-config.xml?
What is difference between spring and struts?
What is the purpose of action-mappings tag in struct-config.xml?
What is the purpose of struct-config.xml in struct2?
What are the core classes of the struts framework?
How the exceptions are handled in struts?