![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringMVC
文章平均质量分 59
Pigeon鸽子
这个作者很懒,什么都没留下…
展开
-
[view-controller] [Http Status 400] The request sent by the client was syntactically incorrect.
匹配失败 将 /add 中的 add 传入路径占位符 { id } , id 类型为 Integer 类型不匹配导致错误。请求优先匹配注解的请求映射 @RequestMapping("/add")但是设置同样功能的基于注解的 @RequestMapping 可以正常跳转。只设置 view-controller 无法跳转 400错误。最后才会匹配 view-controller。原创 2023-08-24 23:19:18 · 57 阅读 · 1 评论 -
[SpringMVC] SpringMVC
org.springframework spring-webmvc 5.3.1 org.thymeleaf thymeleaf-spring5 3.0.原创 2023-08-24 00:02:03 · 74 阅读 · 1 评论