tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun Katkere <katk...@praja.com>
Subject RE: Non class files in WEB-INF/classes directory
Date Thu, 16 Mar 2000 19:51:54 GMT
Never mind! Not a bug! getSystemResourceAsStream looks at system classpath
as it should. getClass().getClassLoader().getResourceAsStream() is the
correct usage in this case.

-arun

> -----Original Message-----
> From: Arun Katkere [mailto:katkere@praja.com]
> Sent: Thursday, March 16, 2000 11:41 AM
> To: 'tomcat-user@jakarta.apache.org'
> Subject: Non class files in WEB-INF/classes directory
> 
> 
> I am trying to access non-class resources in a web application's
> WEB-INF/classes directory via 
> ClassLoader.getSystemResourceAsStream (with
> TomCat 3.1 beta). It doesn't work as expected. If I put the files in
> $TOMCAT_HOME/lib, then I can access it. Is this a bug with 
> TomCat or is this
> the correct interpretation of servlet spec?
> 
> -arun
> 
> --------------------------------------------------------------
> ------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
> 

Mime
View raw message