- 浏览: 3396 次
最新评论
文章列表
springmvc的@RequestMapping、@PathVariable、@RequestParam
@RequestMapping("/somepath/{userName}")
public String register(@PathVariable(value = "userName") String userName) {
ModelAndView mav = new ModelAndView();
return "user/createSuccess";
}
在springmvc注解的@RequestM ...