I would use the constants from Globals.  That text sounds very much like the 
Action constants will be deprecated.  It doesn't make sense to define the 
constants in 2 places so one of them has to go.

Dave


>From: Anthony Martin <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts User List (E-mail)" <[EMAIL PROTECTED]>
>Subject: Globals
>Date: Thu, 26 Sep 2002 19:58:11 -0700
>
>Is it now recommended to use members of Global like in Global.ERROR_KEY
>instead of Action.ERROR_KEY *even* in classes that extend Action?  I know
>these members have not been marked as deprecated, but the note seems to
>indecate that they are preferred:
>
>"Global manifest constants for the entire Struts Framework. Many of these
>constants were initially defined in Action, but were moved here so that 
>they
>could be referenced without referencing the Action class itself. For
>backwards compatibility, constant references there point at this class, and
>the constant values themselves have not changed."
>
>So, it looks like either way is acceptable.  But will the old way be
>deprecated sometime in the future?
>
>
>Anthony
>
>"The project purpose statement you wrote and understand will be seen
>differently by everyone else." - Immutable Laws of Project Management
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to