@RequestMapping映射在Spring 3.1中不再起作用

时间:2012-05-01 15:54:55

标签: spring-mvc

我更新了我的项目以使用3.1.0.RELEASE(实际上 - 不是我,但Spring Roo做到了)来自3.0.6.RELEASE,并且以下映射不再起作用了:

@RequestMapping(value = "/partners/public/logos/{id}/{filename}.{ext}")
public void partners_get_logo2(@PathVariable Long id,
        @PathVariable String filename, @PathVariable String ext,
        ModelMap modelMap, HttpServletRequest request,
        HttpServletResponse response) throws Exception {
...
}

如何映射2个以上的路径变量?

0 个答案:

没有答案
相关问题