whats is mean Actionerrors and Actionerror?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many action classes can be used in struts application?

605


What is struts xml?

525


What is the purpose of @validations annotation?

644


What is the default location of result pages and how can we change it?

640


What is controller in struts ?

628






What is the design role played by struts?

632


Will the struts tags support other markup languages such as wml ?

641


Difference between struts and spring? Or why use spring, if you are already using struts?

616


What is use of i18n interceptor?

628


What is the purpose of global-forwards tag in struct-config.xml?

664


What is the purpose of constant tag in struts.xml?

637


Which model components are supported by Struts?

654


What is Custom Type Converter in Struts2?

746


What is the difference between shocks and struts?

585


What’s the utilization of struts.xml configuration file?

624