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
How to handle exceptions in structs?
Can we have more than one struts-config.xml file for a single struts application?
How client side validation is enabled on a jsp form?
How is the mvc design pattern used in struts framework?
What are Struts2 core components?
What is the purpose of @beforeresult annotation?
How can we work with error tags?
What is difference between lookupdispatchaction and dispatchaction?
How properties of a form are validated in Struts?
When should we use SwtichAction?
What is the purpose of @conversion?
Where can I get a copy of struts?
Which interceptor is responsible for file upload support?
What is the purpose of @action annotation?
Can you explain aware interfaces in struts2?