tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core StandardContext.java
Date Wed, 26 Sep 2001 23:17:52 GMT
remm        01/09/26 16:17:52

  Modified:    catalina/src/share/org/apache/catalina/core Tag:
                        tomcat_40_branch StandardContext.java
  Log:
  - Create the Jasper loader in delegating mode (may prevent trouble).
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.78.2.2  +5 -4      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardContext.java
  
  Index: StandardContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
  retrieving revision 1.78.2.1
  retrieving revision 1.78.2.2
  diff -u -r1.78.2.1 -r1.78.2.2
  --- StandardContext.java	2001/09/21 16:28:57	1.78.2.1
  +++ StandardContext.java	2001/09/26 23:17:52	1.78.2.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
1.78.2.1 2001/09/21 16:28:57 craigmcc Exp $
  - * $Revision: 1.78.2.1 $
  - * $Date: 2001/09/21 16:28:57 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
1.78.2.2 2001/09/26 23:17:52 remm Exp $
  + * $Revision: 1.78.2.2 $
  + * $Date: 2001/09/26 23:17:52 $
    *
    * ====================================================================
    *
  @@ -142,7 +142,7 @@
    *
    * @author Craig R. McClanahan
    * @author Remy Maucherat
  - * @version $Revision: 1.78.2.1 $ $Date: 2001/09/21 16:28:57 $
  + * @version $Revision: 1.78.2.2 $ $Date: 2001/09/26 23:17:52 $
    */
   
   public class StandardContext
  @@ -1145,6 +1145,7 @@
   
           // Set up the Jasper class loader
           StandardClassLoader newLoader = new StandardClassLoader(classLoader);
  +        newLoader.setDelegate(true);
           File directory = new File(System.getProperty("catalina.home"),
                                     "jasper");
           if (directory.exists() && directory.canRead() &&
  
  
  

Mime
View raw message