You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2001/01/23 05:45:10 UTC

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina Globals.java

remm        01/01/22 20:45:10

  Modified:    catalina/src/share/org/apache/catalina Globals.java
  Log:
  - Add a new constant, which indicates the location of the resources in the
    servlet context.
  
  Revision  Changes    Path
  1.18      +13 -5     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Globals.java
  
  Index: Globals.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Globals.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- Globals.java	2001/01/06 04:13:02	1.17
  +++ Globals.java	2001/01/23 04:45:10	1.18
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Globals.java,v 1.17 2001/01/06 04:13:02 craigmcc Exp $
  - * $Revision: 1.17 $
  - * $Date: 2001/01/06 04:13:02 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Globals.java,v 1.18 2001/01/23 04:45:10 remm Exp $
  + * $Revision: 1.18 $
  + * $Date: 2001/01/23 04:45:10 $
    *
    * ====================================================================
    *
  @@ -69,7 +69,7 @@
    * Global constants that are applicable to multiple packages within Catalina.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.17 $ $Date: 2001/01/06 04:13:02 $
  + * @version $Revision: 1.18 $ $Date: 2001/01/23 04:45:10 $
    */
   
   public final class Globals {
  @@ -102,6 +102,14 @@
   
   
       /**
  +     * The JNDI directory context which is associated with the context. This
  +     * context can be used to manipulate static files.
  +     */
  +    public static final String RESOURCES_ATTR =
  +	"org.apache.catalina.resources";
  +
  +
  +    /**
        * The servlet context attribute under which we store the class path
        * for our application class loader (as an object of type String),
        * delimited with the appropriate path delimiter for this platform.
  @@ -193,7 +201,7 @@
       /**
        * The descriptive information about this server and version.
        */
  -    public static final String SERVER_INFO = "Apache Tomcat/4.0-b1";
  +    public static final String SERVER_INFO = "Apache Tomcat/4.0-dev";