Reading a property file from WEB-INF/conf from a servlet
Posted on 2004-09-22
This is a pretty basic question. I want to know the standard way by which a properties file in the WEB-INF/conf can be retrieved by a servlet. That is the way in which it has the minimum dependencies with the appserver (i.e the directory in which the webapps is located, the make of appserver etc.)
I have used the init-param tags, but I had to give the full path (i.e C:\\Apache..) as the param value.