I have a Spring MVC
web application. I am now trying to externalize all the properties to keep it independent of the war file. I am trying to load some properties from my application.properties
file. Also I want to load my database credentials also like this. Is there any way I can do this?
I have in my root-contxt.xml
file,
I tried the following: Adding a property file in the shared folder in tomcat 8 and using it in a Spring MVC web application
But I have not found a solution yet.