2017年3月22日
摘要: 以前只知道在eclipse里添加项目到tomcat,但是在没有eclipse的情况下要怎么把项目部署到tomcat,然后运行呢? tomcat的部署有两种方法:一种是静态部署;一种是动态部署。 一、静态部署 在tomcat的安装目录下(一般情况下tomcat是不需要安装的,在网上下载下来就可以了), 阅读全文
posted @ 2017-03-22 10:42 依米欧 阅读(131) 评论(0) 推荐(0) 编辑
  2017年3月20日
摘要: 阅读全文
posted @ 2017-03-20 17:41 依米欧 阅读(1012) 评论(0) 推荐(0) 编辑
  2017年3月6日
摘要: SELECT time from dbcp_inner_log_read GROUP BY time HAVING count(time)>1 阅读全文
posted @ 2017-03-06 16:58 依米欧 阅读(113) 评论(0) 推荐(0) 编辑
摘要: DELETE from dbcp_log_read where time BETWEEN '2017-02-20 00:00:00' AND '2017-03-06 00:00:00' 阅读全文
posted @ 2017-03-06 16:58 依米欧 阅读(1420) 评论(1) 推荐(0) 编辑
  2017年2月20日
摘要: 前面两种可以设置编码格式。 1.第一种:xml文件的读取和Sax解析 InputSource inputSource = new InputSource(new FileInputStream(file)); inputSource.setEncoding("UTF-8"); List<Map<St 阅读全文
posted @ 2017-02-20 15:45 依米欧 阅读(4604) 评论(0) 推荐(0) 编辑
  2017年2月17日
摘要: 1继承Thread package cn.mym.basic.util; public class Thread1 extends Thread { private int count=5; private String name; public Thread1(String name) { thi 阅读全文
posted @ 2017-02-17 16:46 依米欧 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 虽然DOC方式解析xml代码比较简洁,适合解析小的文件,但是大文件,还是建议使用SAX进行解析,解析速度不只是快10倍那么简单,简直是快百倍不止。 text.xml文件 <?xml version="1.0" standalone="yes"?><RECORDS><RECORD><接收时间>2017 阅读全文
posted @ 2017-02-17 15:56 依米欧 阅读(940) 评论(0) 推荐(0) 编辑