whats is mean Actionerrors and Actionerror?
Answer Posted / 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 |
Post New Answer View All Answers
What steps are required to for an application migration from Struts1 to Struts2?
How is a lookup dispatch action created?
How action-mapping tag is used for request forwarding in struts configuration file?
Is struts compatible with other java technologies?
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
What is the use of jsonvalidation?
Which components are available using actioncontext map?
How we can controlled duplicate form submission in struts?
Why actionservlet is singleton in struts?
What is the purpose of @results annotation?
How duplicate form submission can be controlled in struts?
What is action class?
Why do we need struts?
What is the purpose of @key?
What is the difference between requestaware and servletrequestaware interface?