摘要: 一、SpringMVC之@RequestMapping通过参数条件缩小路径映射,params参数:URL中只有存在params指定的参数时才被允许访问路径映射的方法,如下所示:1 @RequestMapping(value="/paramValue/{userName}",params="myParam",method = RequestMethod.GET)2 public void setupForm(@PathVariable String userName) {3 System.err.println("userName:" 阅读全文
posted @ 2013-05-17 17:35 风儿飞 阅读(1595) 评论(0) 推荐(0) 编辑