whats is mean Actionerrors and Actionerror?
Answers were Sorted based on User's Feedback
Answer / mahesh
In Struts, error messages are represented by creating
an object of type ActionError i.e.,
ActionError ae = new ActionError("errone");
To store multiple ActionError objects we use
ActionErrors object
ActionErrors aes = new ActinErrors();
aes.add("one",ae);
Is This Answer Correct ? | 25 Yes | 0 No |
Answer / asim
ActionErrors is the super class of ActionError.So we have
to make one ActionError object for every error and add all
the objects to ActionErrors object.
Is This Answer Correct ? | 9 Yes | 4 No |
Answer / foujil ameen
An ActionErrors object has request scope.
but ActionError, Jsp page can retrieve the object from the
request and use the ActionError object contained whithin it to
display error messages to the user.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / 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 |
Answer / venkateswar reddy
we used to represent the errors in struts by actionerrors.
For every error we wil write one actionerror..like we wil
write all the errors in actionerror object.
All ActionErrors Ojects are hold by ActionError Object.
Any how it is deprecated in Struts1.1, you wil find
ActionMessages and ActionMessage objects in struts1.1
Is This Answer Correct ? | 4 Yes | 4 No |
where you will implement the tiles in struts?
what is mean by custom tag?
What is meant by custom tags?
Wat is Difference between Mvc1 architecture and Mvc2 Architecture?
21 Answers HCL, IBM, Sanyaa Infotech,
In how many ways duplicate form submission can occurs?
Hi i am murali.i need a excellent answer for the question Tell me about project and project flow ? i mean it is use full to any project,it is on STRUTS
What are the steps involved in creating a strut application?
Difference between struts and spring? Or why use spring, if you are already using struts?
how you provide security in your banking project
What is dispatch action class?
What is the flow of requests in struts based applications?
wat happen when the connection is nt closed in jdbc n what vl happen when i interchange in executequery n execute statements