摘要:
要在ftl页面中使用contextPath,需要在viewResolver中做如下配置(红色部分): 这样,在页面中使用${rc.contextPath} 就可获得contextPath。注意,这里的rc对应的是org.springframework.web... 阅读全文
posted @ 2014-09-01 10:53 eastson 阅读(1289) 评论(0) 推荐(0)
|
|
|
|
摘要:
要在ftl页面中使用contextPath,需要在viewResolver中做如下配置(红色部分): 这样,在页面中使用${rc.contextPath} 就可获得contextPath。注意,这里的rc对应的是org.springframework.web... 阅读全文
posted @ 2014-09-01 10:53 eastson 阅读(1289) 评论(0) 推荐(0) |
|