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 form bean in struts?
What does action do in struts?
Which file is used by controller to get mapping information for request routing?
What do you mean by a custom tag?
What does validation interceptor?
What configuration changes are required to use Tiles in Struts?
What is struts in java with example?
What is the use of Struts.xml configuration file?
How does struts2 token work?
Can we integrate struts with spring?
What are the benefits of Interceptors in Struts2?
Are struts and shocks the same?
What configuration files are used in struts?
How do you convert struts to springs?
Why aren’t the struts tags maintained as part of the jakarta taglibs project ?