Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the use of ActionErrors in Struts?

Answers were Sorted based on User's Feedback



What is the use of ActionErrors in Struts?..

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

What is the use of ActionErrors in Struts?..

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

Post New Answer

More Struts Interview Questions

What is interceptor? And life cycle methods of interceptor?

0 Answers  


What is the purpose of @before?

0 Answers  


which MVC architecture struts follows and why?

6 Answers   IBM,


Explain struts.devmode?

0 Answers  


What is the purpose of @before annotation?

0 Answers  


Explain about token feature in struts?

0 Answers   Tech Mahindra,


What is the difference between a Strut and a Class?

1 Answers  


what is request processor class ?

10 Answers   Fidelity,


how to get the last 10 elements using logic:iterate in struts with hiernate from database.

0 Answers   Wipro,


What is a custom tag?

0 Answers  


Is struts efficient?

0 Answers  


How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?

0 Answers  


Categories