摘要: 1.基本定义 touchstart 手指触碰开始就能触发 click 1.手指触碰 2.手指未在屏幕上移动 3.在这个dom上手指离开屏幕 4.触摸和离开屏幕之间的时间间隔较短 因此,click事件有其独特的地方,不能完全用touchstart替代。 2.click延时问题 因为手机浏览器上,两次轻 阅读全文
posted @ 2018-12-22 09:29 入梦炼心 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 在开发中,我实在不希望dwr弹出alter,只需要打印错误日志就可以,客户端不需要alert出error或者a server error has occurred. 这样的提示,更不需要alert出堆栈信息,客户根本看不懂,也不需要看。怎么办?经过分析,engine.js中有dwr的默认错误句柄,d 阅读全文
posted @ 2018-12-22 08:58 入梦炼心 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1.eclipse下的编码设置:eclipse 中使用模板新建 JSP,xhtml等 文件时,默认的编码为:ISO-8859-1。 ISO-8859-1 编码对于中文的显示是不支持的,如果要支持简体中文,则编码方式应为 GBK 或者 GB2312 或者 UTF-8(推荐) 等。右键菜单栏window 阅读全文
posted @ 2018-12-12 17:31 入梦炼心 阅读(201) 评论(0) 推荐(0) 编辑
摘要: https://help.aliyun.com/document_detail/52864.html 1。运行以下命令安装SVN。 yum install subversion 2。运行以下命令查看SVN版本。 svnserve --version 3。按以下步骤创建版本库: 1).运行以下命令创建 阅读全文
posted @ 2018-11-29 15:31 入梦炼心 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1.下载Redis wget https://download.redis.io/releases/redis-3.0.4.tar.gz 2 . 解压Redis tar -xzvf redis-3.0.4.tar.gz 3 . 编译安装Redis cd redis-3.0.4 makemake in 阅读全文
posted @ 2018-11-29 14:56 入梦炼心 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 选择打开方式:spring yaml 阅读全文
posted @ 2018-11-06 15:02 入梦炼心 阅读(3733) 评论(0) 推荐(0) 编辑
摘要: Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2018-11-02 17:15:00.028 ERROR 21400 [ 阅读全文
posted @ 2018-11-02 17:18 入梦炼心 阅读(5437) 评论(0) 推荐(0) 编辑
摘要: static final int tableSizeFor(int cap) { int n = cap - 1; n |= n >>> 1; n |= n >>> 2; n |= n >>> 4; n |= n >>> 8; n |= n >>> 16; return (n < 0) ? 1 : 阅读全文
posted @ 2018-10-23 11:20 入梦炼心 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 原始链接:https://jingyan.baidu.com/article/fedf073771323235ac8977f1.html Shift+Enter在当前行的下一行插入空行(这时鼠标可以在当前行的任一位置,不一定是最后)Shift+Ctrl+Enter 在当前行插入空行(原理同上条) 阅读全文
posted @ 2018-10-19 15:43 入梦炼心 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 1.setting.xml配置 <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="htt 阅读全文
posted @ 2018-10-15 21:14 入梦炼心 阅读(104) 评论(0) 推荐(0) 编辑