 <p>I will augment @axtavt's suggestions by saying you should just do it in reverse. Do you really need to make the message URL runtime configurable?</p> <p>If you don't than just make a static variable just like you have it but with out the <code>@Value</code>:</p> <pre><code>public final class UrlMapping { public static final String MESSAGE = "message"; } </code></pre> <p>Then in your JSP refer to UrlMapping.MESSAGE instead of the properties file.</p> <p>Although its not as flexible its far simpler and IMHO its a bad idea to make endpoint URLs too configurable because inevitably you will hardcode something either in Javascript or in a template. Also changing URLs are bad for SEO.</p>