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

Explain about struts relation to html tags?

0 Answers  


How to carryout the validations in struts if the validator frame work cant handle the validation

2 Answers   Syntel,


Explain the complete struts validator framework.

0 Answers  


What are inner class and anonymous class?

0 Answers  


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

0 Answers  






What is the purpose of @createifnull annotation annotation?

0 Answers  


How do I install struts?

0 Answers  


what is purpose cvs and vss in eclipse?

2 Answers  


What are disadvantages of Struts?

0 Answers  


At the point, you should go for struts framework?

0 Answers  


Describe the mvc on struts?

0 Answers  


What is the purpose of @expressionvalidator annotation?

0 Answers  


Categories