- 博客(4)
- 收藏
- 关注
转载 websocket的坑,同时有多个线程调用了this.session.getBasicRemote().sendText(msg); 方法
websocket的坑,The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method@TOC使用websocket 做实时聊天系统,在生产环境上有业务人员反馈收不到消息,查看日志发现有很多The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called metho
2021-09-27 12:06:23
6311
转载 Eclipse中tomcat service设置
Eclipse中tomcat service设置选择window ----show view--bai-services可以看到服务du的面板双击tomcat进入配置界面Service Locations(Specify the server path (i.e. catalina.base) and deploy path. Server must be published with no modules present to make changes.)选项变zhi灰色无法更改配置。若要更dao改
2020-09-14 09:36:43
158
原创 echarts监听点击(空白处)事件,echarts监听滑动事件
echarts监听点击(空白处)事件,echarts监听滑动事件利用getZr()属性获取滑动事件和点击事件,(需要支持es6,否则自行改写)let obj = document.getElementById(‘xxxxxxxxxxxxxxId’)if (!obj) returnlet myChart = echarts.init(obj)myChart.setOption(item.option)// 点击myChart.getZr().on(‘click’, params => {
2020-07-01 20:16:06
1458
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人