title: PropertyPlaceholderConfigurer: can i have a dynamic location value
body: <p>right now i have this in my xml file:</p>
  
  <pre><code>         &lt;bean id="dataSource"
      class="org.springframework.jdbc.datasource.DriverManagerDataSource"&gt;
      &lt;property name="driverClassName" value="com.mysql.jdbc.Driver" /&gt;
      &lt;property name="url" value="jdbc:mysql://localhost:3306/dashboardsupervisor" /&gt;
      &lt;property name="username" value="root" /&gt;
      &lt;property name="password" value="${jdbc.password}" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>            &lt;bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"&gt;
  &lt;property name="location"&gt;
      &lt;value&gt;file:C:/jdbc.properties&lt;/value&gt;
    &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>Now , my problem is that i do not know the exact location of this file(jdbc.properties) , as this application will going to run on different computers , in some places its installed in c: ,sometimes may be on f:.. So if i dont know the path of this file , if there is anyway i could find it .</p>
  
  <p>thanks</p>