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 |
I facing problems while explaining project details in the interview...... can any tell complete project architecture that followed in companies
what is the purpose of action servlet and action?
what is mean by custom tag?
Why aren’t the struts tags maintained as part of the jakarta taglibs project ?
What are the steps used to setup dispatch action?
What is package name in struts xml?
What is the design role played by struts?
What configuration files are used in struts?
Is struts mvc framework?
What is life cycle of an interceptor?
Explain about token feature in struts?
Which parser is used in Struts to parse the Structconfig.xml file.