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?

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


Please Help Members By Posting Answers For Below Questions

How to handle exceptions in structs?

1134


Can we have more than one struts-config.xml file for a single struts application?

934


How client side validation is enabled on a jsp form?

1076


How is the mvc design pattern used in struts framework?

959


What are Struts2 core components?

1007


What is the purpose of @beforeresult annotation?

1019


How can we work with error tags?

992


What is difference between lookupdispatchaction and dispatchaction?

1119


How properties of a form are validated in Struts?

1053


When should we use SwtichAction?

1073


What is the purpose of @conversion?

1155


Where can I get a copy of struts?

939


Which interceptor is responsible for file upload support?

1031


What is the purpose of @action annotation?

1027


Can you explain aware interfaces in struts2?

1026