我更新了我的项目以使用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个以上的路径变量?