Hello,
I'm trying to access a properties file that's located in a package within  a
jar file in /WEB-INF/lib.

net/props/myProps.properties



Properties p = new Properties();
InputStream is = ...

I've tried a lot of methods to set the InputStream, i.e.,

p.getClass().getResourceAsStream("/net/props/myProps.properties");
p.getClass().getResourceAsStream("net/props/myProps.properties");
p.getClass().getResourceAsStream("myProps.properties");
getServletContext().getClass().getClassLoader().getResourceAsStream("/net/pr
ops/myProps.properties");

 but I always get null...

Can someone offer a suggestion?

Thanks alot,
Matt


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

Reply via email to