springmvc访问路径传递参数 @RequestMapping(value = "/{path}/toList") public String toList(@PathVariable String path) { return "xte/" + path; }