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 I have to credit struts on my own website?
What is the main difference between Mvc1 and Mvc2 Architecture??
7 Answers IBM, Ness Technologies,
Where can I get a copy of struts?
How to explain Software Bank Loan descriptions
0 Answers Kekran Mekran, Wipro,
List some bundled validators?
what is use of assert keyword in java..?
What is action class?
What is the purpose of @result annotation?
Which file is used by controller to get mapping information for request routing?
What types of Actions we have in Struts?
What does action do in struts?
What is pojo in struts2?