摘要: 1、问题 Spring MVC 在参数上设置了必填项,post 请求时报 HTTP 400 并且未进入断点,如将“年龄”设置为了必填项: @RequestParam( value="age", required=true, defaultValue=0 ) int age 2、原因:传参时未写完整导 阅读全文
posted @ 2018-04-08 11:00 hapday 阅读(468) 评论(0) 推荐(0) 编辑