What is the use of ActionErrors in Struts?
Answer Posted / surajkumar.java
ActionErrors is a class(org.apache.struts.action.ActionErrors)
which encapsulates the error messages being reported by the
validate() method of an ActionForm. Validation errors are
either global to the entire ActionForm bean or they are
specific to a particular ActionForm bean property. Each
individual error is described by an "ActionError" object,
which contains a message key which are mentioned in
"Application.properties" file.
Is This Answer Correct ? | 22 Yes | 1 No |
Post New Answer View All Answers
What are the two scope types for formbeans?
What are the steps involved in creating a strut application?
Why actionservlet is singleton in struts?
What is the life cycle of actionform?
What do you mean by the abstract package in struts2, and what is its utilization?
What is difference between struts1 and struts2?
What are the core classes of the struts framework?
What is use of i18n interceptor?
In struts, how can we access java beans and their properties?
Which class of struts is responsible to converts data types from string and vice versa?
How is the mvc design pattern used in struts framework?
Why it called struts?
Briefly tell the two kinds of form beans.
What is ValueStack and OGNL?
What is front controller in struts?