tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Wichman <>
Subject Re: tomcat5 does not find properties file in webapp
Date Wed, 21 Jul 2004 13:24:17 GMT
do you have rights to read the property file?
Is the codebase for the MyServiceImpl class equal to $WEBAPP/WEB-INF/classes/?


At 03:15 PM 7/21/2004, Lorenz, Christoph wrote:
>what is the reason, that tomcat5 (5.0.25) does not read my
>properties file, which I placed in
>when I try to access it the following way:
>Properties p = new Properties();
>If I try to determing the position of the resource the following way:
>URL u = MyServiceImpl.class.getResource("/");
>u is null here.
>Thank you very much in advance
>   Christoph
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message