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 |
What is package name in struts xml?
What is xml based validation in struts2?
What are action errors and error and what are the consequences they impose?
What are the struts2 configuration properties that control file uploading process?
how handle when client send multiple request at atime for multiple servlets servlets?
Do I have to credit struts on my own website?
life cycle of struts?
14 Answers HCL, iGate, Scope International,
How do you customize ActionServlet?
What are the 5 constants of action interface?
How we can configured action mapping in struts?
What is the use of form bean in struts?
Which design pattern is implemented by Struts2 interceptors?