title: Spring: define @RequestMapping value in a properties file
body: <p>Is it possible to define the value of a <code>@RequestMapping</code> annotation in Spring   by defining it in a properties file?</p>
  
  <p>Actually, I do something like:</p>
  
  <pre><code>@Controller
  @RequestMapping("/xxx")
  public class MyController {
  ...
  }
  </code></pre>
  
  <p>But I would like to store the path <code>/xxx</code> in a properties file. Why? For instance, it is less likely that I do mystakes in my templates if I rename the path in the controller.</p>
  
  <p>In other framework this is allowed (see Symfony, for instance).</p>