![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误
伟纪伟
这个作者很懒,什么都没留下…
展开
-
Request method 'POST' not supported(Springboot获取post请求并返回页面时出错)
原因:Springmvc返回页面时,post请求不能返回到静态页面上,只能返回到jsp页面。解决方法:返回到html页面,用ajax技术实现页面与后台的跳转原创 2019-09-25 20:14:26 · 2080 阅读 · 0 评论 -
错误Parameter 'userId' not found. Available parameters are [arg1, arg0, param1, param2]
mybatis中传入多个参数时,应该使用@param注解@Insert("insert into users_role(userId, roleId) values (#{userId}, #{roleId})")void addRoleToUser(@Param("userId") String userId, @Param("roleId") String roleId);...原创 2019-09-06 15:47:04 · 5000 阅读 · 0 评论