Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

What is the difference between the ActionError and ActionErrors class provided by the Struts Framework?
The org.apache.struts.action.ActionError class extends the org.apache.struts.action.ActionMessage class and reresents the single error message. The key attribute of the ActionError class is used to lookup a resource from the application resource bundle, "Internationalizing your struts application".
The org.apache.struts.action.ActionErrors class extends the org.apache.struts.action.ActionMessage class and represents a collection of ActionError classes. The ActionErrors class is composed of two contructors and a single method that allows you to add an ActionError object to the current collection of ActionErrors.