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 is the purpose of @results annotation?
What is the purpose of @keyproperty annotation annotation?
What do you mean by tiles in struts?
What is the forward action utilized for?
What is the use of namespace in action mapping in Struts2?
What is the difference between struts and spring? Explain
What are the components of struts framework?
What is the purpose of @stringlengthfieldvalidator annotation?
Explain about logic match tag?
How is token generated?
What do you mean by inner class and anonymous class?
What is the difference between struts1 and struts2?
What is life cycle of an interceptor?
What is the use of resourcebundle.properties file in Struts Validation framework?
Define struts?