tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Esteban González <egonza...@outside.com.ar>
Subject Tomcat 4.0.3 & getResourceAsStream
Date Mon, 02 Dec 2002 15:33:42 GMT
Hi!
I´ve just moved an old app that we had running using Jserv to tomcat4.0.3

But i have problems with this
    p = new Properties();
    InputStream is = p.getClass().getResourceAsStream("/icard.properties");
I keep getting null no matter where i put the icard.properties file.

i´ve placed icard.properties inside WEB-INF/lib and WEB-INF/classes and it´s
also on the classpath...

any workarounds to this issue?...  I´m trying not to use the java.io.*
approach...

----------------------------------
Esteban González

Departamento de Sistemas
ASSIST-CARD International


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message