2013/1/25 Justin Rosenberg :
> Is there a to load a properties file that is dropped in the
> ${catalina.base}/lib directory?
>
>
>
> When I try the following it returns null:
>
> MyClass.class.getResourceAsStream(PROPERTY_FILE_NAME)
You should beware of the difference between Class.getResource()
Is there a to load a properties file that is dropped in the
${catalina.base}/lib directory?
When I try the following it returns null:
MyClass.class.getResourceAsStream(PROPERTY_FILE_NAME)
I realize I can do the following, but I don't want the code to be server
specific:
props.load(new Fi