1. Certainly, using a FileXXX class will attempt to interpret the init
parameter value (/WEB-INF...) is an absolute path, because that's how
absolute paths are defined for files.

Thank you again Yoav. The recommendation then is to skip trying to use a FileInputStream (because the String provided is absolute to the file system not servlet context, i.e. /WEB-INF/lib/x.props is intepreted as from "root" on *NIX and C:\ on Windoze). Additionally


config.getServletContext().getResourceAsStream( file )

works in and out of war packages.

Thank you again,
Tim




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to