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 are the steps used to setup dispatch action?
What do you mean by action errors and what are the results they force?
Why is it called struts?
What are the core classes of the struts framework?
Can you explain value stack?
In which order struts framework searches for a message bundle?
What is xml based validation in struts2?
What’s the difference between struts and turbine? What’s the difference between struts and espresso?
What is the use of forwardaction?
How to carryout the validations in struts if the validator frame work cant handle the validation
what is the struts internal code?
Explain about the validation steps which have to be carried during validation of client-side address?