All urls should be created with <@spring.url url/> so they will also work when the contextPath isnt /