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 |
How is the Struts framworl related to MVC2?
Explain the components of struts?
Which class of struts is responsible to converts data types from string and vice versa?
How to explain Software Bank Loan descriptions
0 Answers Kekran Mekran, Wipro,
Describe the two types of formbeans.
What are the two types of validations supported by validator framework?
what r the disadvantages of MVC-2 Architecture?
i have a log in web application .... i want restrict the user for particular no of users what is procedure to develop thus application
What is struts 2 framework in java?
Is it possible to create mulitple instance of one Action Class in struts?
what are java stuts? what are there uses
2 Answers Rupa, Tech Mahindra,
What is the use of namespace in action mapping in Struts2?