diff --git a/spring-webmvc/src/main/resources/org/springframework/web/servlet/view/velocity/spring.vm b/spring-webmvc/src/main/resources/org/springframework/web/servlet/view/velocity/spring.vm index 9064115ee17..91936429add 100644 --- a/spring-webmvc/src/main/resources/org/springframework/web/servlet/view/velocity/spring.vm +++ b/spring-webmvc/src/main/resources/org/springframework/web/servlet/view/velocity/spring.vm @@ -55,7 +55,7 @@ * Takes a relative URL and makes it absolute from the server root by * adding the context root for the web application. *# -#macro( springUrl $relativeUrl )$springMacroRequestContext.getContextPath()${relativeUrl}#end +#macro( springUrl $relativeUrl )$springMacroRequestContext.getContextUrl(${relativeUrl})#end #** * springBind