title: How to load system properties file in Spring?
body: <p>I have a properties file which I would like loaded in to System Properties so that I can access it via <code>System.getProperty("myProp")</code>.  Currently, I'm trying to use the Spring <code>&lt;context:propert-placeholder/&gt;</code> like so:</p>
  
  <pre><code>&lt;context:property-placeholder location="/WEB-INF/properties/webServerProperties.properties" /&gt;
  </code></pre>
  
  <p>However, when I try to access my properties via <code>System.getProperty("myProp")</code> I'm getting <code>null</code>.  My properties file looks like this:</p>
  
  <pre><code>myProp=hello world
  </code></pre>
  
  <p>How could I achieve this?  I'm pretty sure I could set a runtime argument, however I'd like to avoid this.</p>
  
  <p>Thanks!</p>