larryi 2002/06/18 11:34:50
Modified: src/facade22/org/apache/tomcat/facade JspInterceptor.java
Log:
Update the "depth" of the classloader URLs to get. DependClassloader
now includes the Context's classloader in the parent chain, so we need to
go one parent deeper. This should get JSP compilation working again.
Revision Changes Path
1.39 +2 -2
jakarta-tomcat/src/facade22/org/apache/tomcat/facade/JspInterceptor.java
Index: JspInterceptor.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat/src/facade22/org/apache/tomcat/facade/JspInterceptor.java,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- JspInterceptor.java 5 Jun 2002 03:52:50 -0000 1.38
+++ JspInterceptor.java 18 Jun 2002 18:34:50 -0000 1.39
@@ -934,8 +934,8 @@
URL commonCP[];
ClassLoader loader=ctx.getClassLoader();
//The next will be the container classpath in trusted apps
- appsCP=jdkProxy.getURLs(loader,1);
- commonCP=jdkProxy.getURLs(loader,2);
+ appsCP=jdkProxy.getURLs(loader,2);
+ commonCP=jdkProxy.getURLs(loader,3);
if( appsCP!=null )
cpath+=separator+extractClassPath(appsCP);
if( commonCP!=null )
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>