Best way to use absolute/global paths in view templates in Spring MVC
<p>What is the best way to reference absolute path (relative to the context root of course) in templates in Spring MVC ?</p>

<p>For example I have a page A managed by controller C-A which contains link to a page B with URL <code>/B/something</code>managed by controller C-B. </p>

<p>If this was link to an A page location I would use relative path. But what when I want want to refer C-B's view (<code>/B/something)</code>?</p>

<p>What is a best approach here ? 
Should I have all the paths stored in a global model attribute and used by the view templates?
Should this be defined statically (as constants) or dynamically?</p>

<p>All this while preventing to have one path at multiple locations.</p>