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 |
Explain about token feature in struts?
What is struts in java with example?
What are inner class and anonymous class?
What is the use of ActionErrors in Struts?
In Struts Programming which is the controller,which is the model?
Difference between struts and spring? Or why use spring, if you are already using struts?
How client side validation is enabled on a jsp form?
What are disadvantages of Struts?
What is strut action mapping?
What is the use of reset method of ActionForm class?
we have two applications A1 & A2 both are accesing the same databse table employee at the same time how we will manage this so that both application can get the correct no of emloyee while A1 is inserting a employee at the same time while other applicatuion is getting the empployee list.
What is struts2 in java?