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’s the difference between validation.xml and validator-rules.xml files in struts validation framework?
What is the purpose of @key annotation annotation?
how does request processor relates to action mapping?
Who makes the struts?
How does struts work?
Difference between html tags and struts specific html tags
What is the purpose of execute() method?
Can we handle exceptions in Struts programmatically?
What is the role of a handler in mvc based applications?
What is the purpose of action-mappings tag in struct-config.xml?
How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?
What are Struts2 core components?
What is discontinuous strut?
What is the purpose of form-beans tag in struct-config.xml?
What are the two different types of validations that the validator framework supports?