上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页
摘要: https://www.cnblogs.com/shileima/p/7823434.html 阅读全文
posted @ 2018-09-17 21:31 hoey94 阅读(117) 评论(0) 推荐(0)
摘要: 实时更新技术能够应用在很多场景中,比如在浏览器中聊天、股票报价、状态更新、现场直播。这些需求对时间的延迟性都很敏感,但是我们可以发现他们存在这共有的共性。 标准的HTTP请求,是一次请求对应一次相应。这就意味着服务器不能发送一个新消息给某一个浏览器。为了解决这些问题,有下面四种解决策略、tradit 阅读全文
posted @ 2018-09-17 15:36 hoey94 阅读(1894) 评论(0) 推荐(0)
摘要: Ctrl + Alt + Shift + H -> None 阅读全文
posted @ 2018-08-16 11:54 hoey94 阅读(222) 评论(0) 推荐(0)
摘要: 不要被标题蒙蔽了,今天的重点不是论述事件触发器,而是说一下dispatchEvent这个东西。好了,先简单做个铺垫,dispatchEvent是作为高级浏览器(如chrome、Firfox等)的事件触发器来使用的,那么什么是事件触发器?就是触发事件的东西。可能有人觉得有点莫名其妙,触发事件不是在交互 阅读全文
posted @ 2018-05-04 16:03 hoey94 阅读(367) 评论(0) 推荐(0)
摘要: /** * * @param file 上传的文件 * @param filePath 上传到那个目录 * @return 上传后的文件名字 * @throws IOException */ public static String uploadFileToPath( MultipartFile file, String filePath) throws IOExce... 阅读全文
posted @ 2018-02-06 11:42 hoey94 阅读(165) 评论(0) 推荐(0)
摘要: 问题描述:当我在model中添加了一下代码以后数据库报错: 添加的代码为: 错误信息为: 原因是mybatis查询以后在数据库找不到这个字段,所以报错了。 解决: 在private ViewPoint viewpoint;加上@TableField(exist = false)这个注解就可以了 阅读全文
posted @ 2018-02-02 19:31 hoey94 阅读(1701) 评论(0) 推荐(0)
摘要: console打印:xxxx 阅读全文
posted @ 2018-02-02 16:35 hoey94 阅读(599) 评论(0) 推荐(0)
摘要: 方案一:采用jsp方式检测用户信息跳转 方案二 :采用springmvc 的拦截器 方案三 : 采用shiro过滤器 阅读全文
posted @ 2018-01-17 15:11 hoey94 阅读(216) 评论(0) 推荐(0)
摘要: 为div添加滚动效果: 代码片段 阅读全文
posted @ 2018-01-03 15:52 hoey94 阅读(3604) 评论(1) 推荐(0)
摘要: Demo1:function loadCss(css) { css.forEach((path)=>{ console.log($('', { rel: 'stylesheet', type: 'text/css', href: path })); }); } loadCss(['/css/mobile/ma... 阅读全文
posted @ 2017-12-27 16:59 hoey94 阅读(441) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页