title: Reading valued from properties file at Runtime
body: <p>I want to get specific value based on request from the property file.how to do that?</p>
  
  <p>I have following spring configuration.i want to set the value for Exprops as per the request and get corresponding values from the properties file </p>
  
  <pre><code>&lt;bean id="Prop" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"&gt;
      &lt;property name="location"&gt;
          &lt;value&gt;classpath:ErrorMessage.properties&lt;/value&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  
  &lt;bean id="PropertiesBean" class="com.util.PropertiesUtil"&gt;
      &lt;property name="Exprops" value="${EXampleExceptiion}"&gt;&lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>