title: How can I access a config file from a servlet deployed as a .war-file and running in Tomcat 5.5?
body: <p>I'm trying to access a config file from a a servlet inside of .war-file. The problem is, that the default file path is the tomcat root itself and hardcoding the path to the file seems not like an option either. Is it possible to get any information through the ServletContext or any Tomcat variables?</p>