tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g..@ooglee.com
Subject WEB-INF/lib
Date Mon, 03 Apr 2000 15:18:50 GMT
Hi,

Maybe there's a bug in the getJars() method of DefaultCMSetter.java
at line 201. I suspect that the code intends to ensure that the
jars' paths *not* be absolute, but the opposite is the case. Consequence
is that servlets can't be loaded from WEB-INF/lib :->

Here's a possible fix:

        if(f.exists() && f.isDirectory() && !f.isAbsolute()) {


-- Fred Ellis
   Aliaron, Inc.

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message