title: Spring - Retrieve value from properties file
body: <p>I have the following configuration in my applicationContext.xml:</p>
  
  <pre><code>&lt;bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"&gt;
      &lt;property name="locations"&gt;
         &lt;list&gt;
           &lt;value&gt;classpath:app.properties&lt;/value&gt;
        &lt;/list&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>Now, in my java class, how can I read the values from the file app.properties?</p>