What is the use of ActionErrors in Struts?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / neha
to correct last line in above - individual error is
described by a 'ActionMessage' object having a message key.
| Is This Answer Correct ? | 0 Yes | 0 No |
Do you need an alignment after replacing struts?
What is the purpose of @conversion?
How many types of action clases are there in stuts and their uses?
15 Answers OHO, TCS, Wipro,
Do I have to credit struts on my own website?
How can link tag’s action attribute be used?
What is spring and struts in java?
What configuration changes are required to use resource files in Struts?
advantages& 5 disadvantages of MVC architecture
What is ValueStack and OGNL?
What inbuilt themes are provided by struts2?
What configuration files are used in struts?
Which configuration file is used for storing jsp configuration information in struts?