struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <>
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.


>From: Anthony Martin <>
>Reply-To: "Struts Users Mailing List" <>
>To: "Struts User List (E-mail)" <>
>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 
>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?
>"The project purpose statement you wrote and understand will be seen
>differently by everyone else." - Immutable Laws of Project Management
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 

MSN Photos is the easiest way to share and print your photos:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message