摘要:
SpringMVC注解 @RequestMapping用法: a. 用在controller方法上: 标记url到请求方法的映射, 其实就是通过一段url地址, 找到对应需要执行的controller方法 b. 用在controller类上: 窄化请求映射: 其实就是在类上给url加一层目录, 防止 阅读全文
posted @ 2018-08-19 21:56
向上丶
阅读(360)
评论(0)
推荐(0)
摘要:
a. 默认支持的类型: httpServletRequest, httpservletresponse, httpsession, model 看自己需要, 如果需要用就加上,不需要用就可以不加. b. 简单类型:string, double, float, long, boolean等 要求: 接 阅读全文
posted @ 2018-08-19 21:53
向上丶
阅读(572)
评论(0)
推荐(0)


浙公网安备 33010602011771号