title: referencing configuration.properties outside of the .war
body: <p>i want to deploy a war and the war should fetch some properties from outside the war (lets say where the .war file is, that same directory.) </p>
  
  <p>at the moment this is the best solution i have found:</p>
  
  <pre><code>&lt;context:property-placeholder location="file:${user.home}/configuration.properties" ignore-unresolvable="true"/&gt;
  </code></pre>
  
  <p>but this solution forces me to keep it always in the home directory. i want it to be in the tomcat webapps directory where i deploy my .war. I am only looking for a solution that involves absolute path. if relative path is absolutely impossible, then i will consider an absolute path. </p>
  
  <p>thanks in advance.</p>