![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
bug 总结
ccnn_yanan
这个作者很懒,什么都没留下…
展开
-
spring boot 问题总结
@PathVariable 当使用@RequestMapping URI template 样式映射时,@PathVariable能使传过来的参数绑定到路由上,这样比较容易写出restful ap @RequestParam等同于上面 只是参数并不在路由上 @RequestBody 能把传递过来的参数转换为实体类 SpringCloud中微服务之间的调用,传递参数时需要加相应的注...原创 2019-11-06 17:30:13 · 87 阅读 · 0 评论 -
httpclient释放资源 Make sure to release the connection before allocating another one.
自从HttpClient升级到HttpComponent后,HttpMethod提供的方法releaseConnection()就被丢弃了。 转而改成另外相对麻烦点的维护一个连接池的处理方式。 httpResponse resp = null; resp.getEntity().getContent().close(); ...原创 2019-10-16 16:56:45 · 1234 阅读 · 0 评论 -
jquery checkBox undefined 和hibernate 联合主键的注意事项 集合转数组 数组转集合 map list 数组 判空 问题
1.在改代码关于checkBox 在初始化选中的问题 如果文档加载完毕 checkBox呈现未选中的状态,但如果用ajax异步状态 是他呈现选中的状态 这时候 如果用 alert($("#checkbox_all").attr("checked")); 就会一直报 undefined 这是因为在jquery1.6.2以后的版本做了改进 在以前也就是说如果checkbox在页面加载完毕是选中的,原创 2016-08-26 08:46:26 · 719 阅读 · 0 评论