title: Profiling for different environment Spring MVC
body: <p>I'm working on a maven Spring project, and I'm running Spring 3.0.7</p>
  
  <p>in my .js file i use url for jquery ajax call like following</p>
  
  <pre><code>url : "/myProjectName/controllerName/MethodName"
  </code></pre>
  
  <p>In jdbc.properties file my userName &amp; password is like following</p>
  
  <pre><code>jdbc.username=root
  jdbc.password=
  </code></pre>
  
  <p>and some other like this. this is what i do when I work on my pc. 
  But before uploading my application, I have to change these as following</p>
  
  <pre><code>url : "/controllerName/MethodName"
  jdbc.username=myName
  jdbc.password=myPass
  </code></pre>
  
  <p>so what i am doing now is changing this every time manually before uploading my jar in the server.
  Now I am wondering if there any way to do this so that I don't have to change this value manually every time before uploading it to the server. I read about profiling I dont know how to use it.</p>
  
  <p>How to do this? Example code is highly appreciated. </p>