![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springMVC
文章平均质量分 87
爪哇_怪盗基德
这个作者很懒,什么都没留下…
展开
-
springMVC获取请求参数的几种方法
1、直接把表单的参数写在Controller相应的方法的形参中,适用于get方式提交,不适用于post方式提交。 /** * 1.直接把表单的参数写在Controller相应的方法的形参中 */ @RequestMapping("/demo1") public String addUser1(String username,String passw原创 2017-11-10 11:58:01 · 244 阅读 · 0 评论 -
异常java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'xxx' method
出现异常:模糊映射。无法映射的xxx方法,异常信息如下:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/原创 2017-12-22 10:47:28 · 28876 阅读 · 2 评论