摘要: 一:pom文件 1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 2 xsi:schemaLocation="http://maven. 阅读全文
posted @ 2017-05-03 17:11 ws珍惜现在 阅读(310) 评论(0) 推荐(0)
摘要: 1.安装SVN后启动项目报"Failed to load JavaHL Library."错误 解决方法: 阅读全文
posted @ 2017-04-07 12:23 ws珍惜现在 阅读(200) 评论(0) 推荐(0)
摘要: 一:参考资料 http://blog.csdn.net/ns_code/article/details/17465497 阅读全文
posted @ 2017-02-07 14:39 ws珍惜现在 阅读(121) 评论(0) 推荐(0)
摘要: 一:tomcat8配置环境 (1)tomcat的conf目录下context.xml中增加如下配置: (2)tomcat的lib目录下增加如下jar包 测试环境:tomcat8.5.8,两台tomcat都需要上面的两步配置。kryo序列化方法在版本较高的tomcat上报无法序列化错误,比如tomca 阅读全文
posted @ 2017-01-24 11:51 ws珍惜现在 阅读(298) 评论(0) 推荐(0)
摘要: 一:示例代码 阅读全文
posted @ 2016-12-01 17:08 ws珍惜现在 阅读(326) 评论(0) 推荐(0)
摘要: 一:参考网址 http://sunbin123.iteye.com/blog/1007556 二:示例 阅读全文
posted @ 2016-11-26 13:06 ws珍惜现在 阅读(1070) 评论(0) 推荐(0)
摘要: 一:查询和插入 二:批量插入和更新 三:插入后返回自增长的主键值 说明: 阅读全文
posted @ 2016-11-15 15:11 ws珍惜现在 阅读(285) 评论(0) 推荐(0)
摘要: public class MyTest { /** * * @param total 流量总数 * @param num 人数 * @param min 每人最小流量数 * @param redpacket 统计数组 */ public static void deal(int total,int n... 阅读全文
posted @ 2016-11-09 18:02 ws珍惜现在 阅读(215) 评论(0) 推荐(0)
摘要: 一:参考 https://harvesthq.github.io/chosen/ Chosen是一个jQuery插件 二:引入js文件 <link href="plug-in/chosen_v1.6.2/chosen.css" type="text/css" rel="stylesheet" /> 阅读全文
posted @ 2016-10-11 17:56 ws珍惜现在 阅读(1605) 评论(0) 推荐(0)
摘要: 一:辅助java类 (1)类名:BufferedImageLuminanceSource (2)代码 二:主类 阅读全文
posted @ 2016-09-26 09:27 ws珍惜现在 阅读(258) 评论(0) 推荐(0)