title: Spring application context external properties?
body: <p>i have a Spring application and its working well so far. Now i want the properties file in an external config folder and not in the packed jar to change things without the need to repack. This is what i got:</p>
  
  <pre><code>&lt;bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"&gt;
  &lt;!-- &lt;property name="locations" value="classpath:/springcontext.properties"/&gt;  --&gt;
  &lt;property name="locations" value ="config/springcontext.properties" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>The outcommented one is working and the other one i dont get to work :/ Can someone help?</p>
  
  <p>Edit:
  Thx 4 comments so far.</p>
  
  <p>Maybe my question wasnt clear enough :). I perform a Maven build and everything will be packaged and i want this folder to be NOT in the package nut next to the outcomming jar and in this folder i want the properties file. possible?</p>