In the case, I think you would need to say:
Thread.currentThread().getContextClassLoader().getResourceAsStream()
-Tim
Mike Curwen wrote:
If MyServiceImpl.class was loaded by a common/lib classloader, would it be
able to find resources in the WEB-INF/ classloader ? (Do classloaders work
that way?)
If MyServiceImpl.class was loaded by a common/lib classloader, would it be
able to find resources in the WEB-INF/ classloader ? (Do classloaders work
that way?)
> -Original Message-
> From: Lorenz, Christoph [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 21, 2004 8:15 AM
> To: 'Tomc
Hi,
do you have rights to read the property file?
Is the codebase for the MyServiceImpl class equal to $WEBAPP/WEB-INF/classes/?
greetz
Hans
At 03:15 PM 7/21/2004, Lorenz, Christoph wrote:
Hi,
what is the reason, that tomcat5 (5.0.25) does not read my
properties file, which I placed in
$WEBAPP/WEB-
Hi,
No reason -- it should work, and it works for me ;)
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Lorenz, Christoph [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, July 21, 2004 9:15 AM
>To: 'Tomcat Users List'
>Subject: tomcat5 does not find properties file in