dgraham 2003/03/12 17:55:10 Modified: src/share/org/apache/struts/action Action.java Log: Deprecated the rest of the Action constants in favor of Globals. Revision Changes Path 1.57 +10 -6 jakarta-struts/src/share/org/apache/struts/action/Action.java Index: Action.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/Action.java,v retrieving revision 1.56 retrieving revision 1.57 diff -u -r1.56 -r1.57 --- Action.java 25 Feb 2003 04:58:29 -0000 1.56 +++ Action.java 13 Mar 2003 01:55:09 -0000 1.57 @@ -117,7 +117,6 @@ * @author Craig R. McClanahan * @version $Revision$ $Date$ */ - public class Action { @@ -134,7 +133,7 @@ /** * The context attributes key under which our <code>ActionServlet</code> * instance will be stored. - * + * @deprecated Use Globals.ACTION_SERVLET_KEY instead. * @since Struts 1.1 */ public static final String ACTION_SERVLET_KEY = Globals.ACTION_SERVLET_KEY; @@ -260,12 +259,14 @@ * <code>MessageResources</code> object for the module selected by * the request URI currently being processed will also be exposed under * this key as a request attribute.</p> + * @deprecated Use Globals.MESSAGES_KEY instead. */ public static final String MESSAGES_KEY = Globals.MESSAGES_KEY; /** * The request attributes key under which our multipart class is stored. + * @deprecated Use Globals.MULTIPART_KEY instead. */ public static final String MULTIPART_KEY = Globals.MULTIPART_KEY; @@ -287,6 +288,7 @@ * will be suffixed with the actual module prefix (including the * leading "/" character) to form the actual attributes key.</p> * @since Struts 1.1 + * @deprecated Use Globals.REQUEST_PROCESSOR_KEY instead. */ public static final String REQUEST_PROCESSOR_KEY = Globals.REQUEST_PROCESSOR_KEY; @@ -297,6 +299,7 @@ * for our controller serlet, which will be either a path-mapped pattern * (<code>/action/*</code>) or an extension mapped pattern * (<code>*.do</code>). + * @deprecated Use Globals.SERVLET_KEY instead. */ public static final String SERVLET_KEY = Globals.SERVLET_KEY; @@ -304,6 +307,7 @@ /** * The session attributes key under which our transaction token is * stored, if it is used. + * @deprecated Use Globals.TRANSACTION_TOKEN_KEY instead. */ public static final String TRANSACTION_TOKEN_KEY = Globals.TRANSACTION_TOKEN_KEY;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]