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...


whats is mean Actionerrors and Actionerror?

Answers were Sorted based on User's Feedback



whats is mean Actionerrors and Actionerror?..

Answer / mahesh

In Struts, error messages are represented by creating
an object of type ActionError i.e.,

ActionError ae = new ActionError("errone");

To store multiple ActionError objects we use
ActionErrors object

ActionErrors aes = new ActinErrors();
aes.add("one",ae);

Is This Answer Correct ?    25 Yes 0 No

whats is mean Actionerrors and Actionerror?..

Answer / asim

ActionErrors is the super class of ActionError.So we have
to make one ActionError object for every error and add all
the objects to ActionErrors object.

Is This Answer Correct ?    9 Yes 4 No

whats is mean Actionerrors and Actionerror?..

Answer / foujil ameen

An ActionErrors object has request scope.

but ActionError, Jsp page can retrieve the object from the
request and use the ActionError object contained whithin it to
display error messages to the user.

Is This Answer Correct ?    3 Yes 0 No

whats is mean Actionerrors and Actionerror?..

Answer / shaik baji

ActionErrors and ActionMessages are available in earlier
versions of struts framework.

Actionerror:
------------
The ActionError purpose is an encapsulation of an
individual error message returned by the validate() method
of an ActionForm, consisting of a message key. It was
deprecated in struts 1.3 onwords versions.

Actionerrors:
-------------
A class that encapsulates the error messages being reported
by the validate() method of an ActionForm. Validation
errors are either global to the entire ActionForm bean they
are associated with, or they are specific to a particular
bean property (and, therefore, a particular input field on
the corresponding form).

Is This Answer Correct ?    3 Yes 0 No

whats is mean Actionerrors and Actionerror?..

Answer / venkateswar reddy

we used to represent the errors in struts by actionerrors.
For every error we wil write one actionerror..like we wil
write all the errors in actionerror object.

All ActionErrors Ojects are hold by ActionError Object.

Any how it is deprecated in Struts1.1, you wil find
ActionMessages and ActionMessage objects in struts1.1

Is This Answer Correct ?    4 Yes 4 No

Post New Answer

More Struts Interview Questions

how you provide security in your banking project

1 Answers   IBM,


What is apache struts used for?

0 Answers  


Even though Servlets and JSP are web based concepts .wht is the use of using Struts using then

8 Answers   TCS,


Which components are available using actioncontext map?

0 Answers  


What are the struts2 error message keys that can come during file uploading process?

0 Answers  


What is the purpose of struts.xml in struct2?

0 Answers  


Who makes the struts?

0 Answers  


how does request processor relates to action mapping?

0 Answers  


What are the contents on web.xml in struts application ?

0 Answers  


What do you mean by the abstract package in struts2, and what is its utilization?

0 Answers  


How you will make available any message resources definitions file to the struts framework environment?

0 Answers  


What is interceptor in Struts2?

0 Answers  


Categories