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
In which order struts framework searches for a message bundle?
What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?
What is the purpose of @doublerangefieldvalidator?
How do you find the struts version being used in a project?
What is DynaActionForm?
What is the differences between struts1 and struts2?
What is the default suffix for Struts2 action URI and how can we change it?
What is the difference between session scope and request scope when saving formbean ?
What is includeaction?
How does one create an action in struts 2?
What is the difference between shocks and struts?
What is the struts in java?
Explain the complete struts validator framework.
How is a lookup dispatch action created?
What inbuilt themes are provided by struts2?