I studied that ActionErrors is a subclass of ActionMessages.Every ActionError object consists of a property name and a ActionMessageItem which is the inner class of ActionMessages.And Every ActionMessageItem consists of a unique sequence number and a ArrayList object. I still could not understand why ActionMessageItem is declared as a inner class and what is the need for sequence number and a ArrayList object
Joined: Feb 08, 2006
What version of Struts code are you looking at? I am looking at the 1.3.5 source code and I see that ActionMessageItem has three protected properties: List list, int iOrder, and String property. It looks like an ActionMessageItem object contains a list of all the ActionMessage objects for the same property value. It looks like iOrder is the order that the items were added to the overall list.
Joined: Jul 27, 2006
I really dont know what version of struts i saw that but still i would like to know how it is designed in the new version compared to older versions