on 12/22/2000 12:25 PM, "Craig R. McClanahan" <[EMAIL PROTECTED]>
wrote:

> Are you accessing the properties file via ServletContext.getResource() or
> ServletContext.getResourceAsStream()?

Neither actually. We are using JServ's old code for loading properties so it
is still direct file/io access. Yes, I know this breaks the idea of
compressed WAR files, but for now we still require leaving them uncompressed
anyway because of log files are stored in directories and such.

/me thinks the idea of closed WAR files was lame anyway.

>  If so, it should be accessed with a
> standard context-relative path like
> "/WEB-INF/conf/TurbineResources.properties".  The path normalization code in
> Tomcat does this to your "./" anyway, so the "." should actually be redundant
> (unless you depend on it for some application specific reason).

Right.

Well, it was originally "WEB-INF/............." and that worked fine before
and now it doesn't. :-)

thanks,

-jon

-- 
Honk if you love peace and quiet.

Reply via email to