Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding ActionErrors

 
Rick Charles
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guyz

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
 
Brent Sterling
Ranch Hand
Posts: 948
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

- Brent
 
Rick Charles
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Brent

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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic