title: Setting Spring Profile variable
body: <p>I have two Spring profiles: <code>dev</code> and <code>test</code>. I want to set the active profile in the server environment, I don't want to set it in my code so that wherever I deploy my application the profile gets loaded based on the profile in the server.
   How can I do that?</p>