cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@localbar.com>
Subject Re: OT question on getResource()
Date Thu, 11 May 2000 10:21:23 GMT
Ricardo Rocha wrote:

> Have you tried:
>
> getClass().getClassLoader().getSystemResource("/org/apache/xalan/xalan/properties")

getClass().getClassLoader().getSystemResource("/org/apache/xalan/xalan.properties")

Could be a matter of wrong classloader being asked, if you are in Java2.
If so, try;

Thread.currentThread().getContextClassLoader().getSystemResource......

Niclas


Mime
View raw message