@RequestMapping(value = "/Foo/{id}/{friendlyUrl:*}", method = RequestMethod.GET)
public ModelAndView getFoo(@PathVariable final Long id, @PathVariable final String friendlyUrl, final Principal principal) {
/* then match friendlyUrl,
* if it doesn't match use redirect
* view to send to correct place*/
}
我使用asterix时我的ide会回来时出错?
答案 0 :(得分:1)