Announcement Announcement Module
Collapse
No announcement yet.
Externalize URLs in a properties file Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Externalize URLs in a properties file

    Hello.

    I didn't find any answer about my question... so here I am !

    Is there any way to externalize URLs in a properties file ?

    As fas as I understand, if I use @RequestMapping annotation, I have to hard-code URLs. And in the other hand, I don't want to explicitely define my URL mapping in the web.xml file.

    I really need to externalize my URLs in a properties file. Since Spring 3.1, there is something about HandlerMethod, and if I understand clearly, it is possible to map an URL to a specific controller method. Is there a way to use this new feature in order to complete my goal ? Examples are really appreciated.

    Thanks a lot !
    Pierre.
Working...
X