How to get the location specific data such as user name and propertyfile loadings at run time for hibernate context file. I am working in GWT framwork
I have this in my applicationcontext.xml
<bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="com.mysql.jdbc.Driver" />
<property name="url" value="jdbc:mysql://localhost:3306/dashboardsupervisor" />
<property name="username" value="root" />
<property name="password" value="1234" />
</bean>
it works fine and connect with my database , Now my problem is that this password"1234" is in some file "monitor.properties" and the location of this file is UNKNOWN, I do not know the file location , it varies from machine to machine .
Any idea how can i get the password here instead of "1234" a password that is in the file which location in unknown ..
thanks