I am trying to read a properties file ("my.properties"), which I put right under /WEB-INF when I created an eclipse project.
I told Spring where the file is like this:
<bean id="propertyPlaceholderConfigurer" class="xx..
<property name="locations">
<list>
<value>/WEB-INF/my.properties</value>
</list>
</property>
</bean>
I created a war file, and deployed under /webapps.
Inside some class, which is an ordinary java class (not a servlet), I wanted to read that "my.properties" file like this:
When I "System.out" inputStream, it is null.
another log file (cas.log) has this error:
I spent a day googling, but could not make it work-- that's why I am here.
What's happening? Can someone give me some pointers?