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 are construction struts?
What is the differences between struts1 and struts2?
What are the advantages of spring mvc over struts mvc?
Which interceptor is responsible for file upload support?
What is lookupdispatchaction?
What is struts and why it is used?
What do you mean by inner class and anonymous class?
What is actioncontext?
What is the default location of result pages and how can we change it?
What is switchaction?
Explain the difference between plain-validator and field-validator in struts?
How is a lookup dispatch action created?
Name the different types of actions found in struts.
What does validation interceptor?
How can we write our own interceptor and map it for action?