struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject Re: Globals
Date Fri, 27 Sep 2002 13:41:30 GMT
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 <Anthony@TRAMS.com>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: "Struts User List (E-mail)" <struts-user@jakarta.apache.org>
>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:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@jakarta.apache.org>




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


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message