tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@hyperreal.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core Context.java
Date Thu, 14 Oct 1999 23:57:41 GMT
akv         99/10/14 16:57:38

  Modified:    src/share/org/apache/tomcat/core Context.java
  Log:
  Add new context attribute called "servlet.classpath".
  
  Revision  Changes    Path
  1.3       +9 -6      jakarta-tomcat/src/share/org/apache/tomcat/core/Context.java
  
  Index: Context.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/Context.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Context.java	1999/10/11 02:42:36	1.2
  +++ Context.java	1999/10/14 23:57:33	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/Context.java,v 1.2
1999/10/11 02:42:36 costin Exp $
  - * $Revision: 1.2 $
  - * $Date: 1999/10/11 02:42:36 $
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/Context.java,v 1.3
1999/10/14 23:57:33 akv Exp $
  + * $Revision: 1.3 $
  + * $Date: 1999/10/14 23:57:33 $
    *
    * ====================================================================
    *
  @@ -516,9 +516,12 @@
       }
   
       public Object getAttribute(String name) {
  -	Object o = attributes.get(name);
  -
  -        return attributes.get(name);
  +        if (name.equals("servlet.classpath"))
  +            return getClassPath();
  +        else {
  +            Object o = attributes.get(name);
  +            return attributes.get(name);
  +        }
       }
   
       public Enumeration getAttributeNames() {
  
  
  

Mime
View raw message