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

Difference between struts1.2 and struts2.0?

3 Answers   Bank Of America, HCL, Value Labs,


How many struts config file can be created in struts?

0 Answers  


What is struts validator framework?

0 Answers  


What are the advantages of spring mvc over struts mvc?

0 Answers  


Are struts still used?

0 Answers  






How to depoly your struts application in JBOSS

1 Answers   HP, NuWare, Satyam, Wipro,


What is the purpose of @element annotation annotation?

0 Answers  


Name some of the features of struts2?

0 Answers  


how you implement and maintain your struts project by using MVC2 arch?

2 Answers   Patni, Wipro,


What is front controller in struts2?

0 Answers  


What are the components of struts framework?

0 Answers  


Can you explain aware interfaces in struts2?

0 Answers  


Categories