2017年5月13日
摘要: public class SetGuava { public static void main(String[] args) { /** * Guava API 提供了有用的新的集合类型, 协同已经存在的java集合工作的很好。 分别是 Multimap, Multiset, * Table, Bi 阅读全文
posted @ 2017-05-13 11:32 爱丹1219 阅读(161) 评论(0) 推荐(0) 编辑
  2017年5月12日
摘要: package com.jeecms.cms.webservices;import java.io.IOException;import org.apache.http.HttpResponse;import org.apache.http.client.methods.HttpPost;impor 阅读全文
posted @ 2017-05-12 11:23 爱丹1219 阅读(1750) 评论(0) 推荐(0) 编辑
  2016年9月28日
摘要: 本地的数据库是oracle.字符集是WE8ISO8859P1,提取过来的值是乱码。实现办法:插入一条记录: Connection conn=null; PreparedStatement pstmt = null; try { String strSql="insert into tabA(A,B) 阅读全文
posted @ 2016-09-28 10:43 爱丹1219 阅读(1652) 评论(0) 推荐(0) 编辑
  2016年9月12日
摘要: form.target="targetIframe"; 然后将这个iframe display掉 <iframe id="targetIframe" name="targetIframe" style="display:none" > </iframe> 阅读全文
posted @ 2016-09-12 14:33 爱丹1219 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 页面部分 <form method="post" name ="test" enctype="multipart/form-data"> <input type="file" name="file"/> </form> 实体类部分 public Class Test{ private String 阅读全文
posted @ 2016-09-12 11:43 爱丹1219 阅读(143) 评论(0) 推荐(0) 编辑
  2016年8月5日
摘要: function daysElapsed(date1,date2) { var item1 = date1.split("-"); var item2 = date2.split("-"); var difference = Date.UTC(item2[0],item2[1],item2[2],0 阅读全文
posted @ 2016-08-05 14:48 爱丹1219 阅读(97) 评论(0) 推荐(0) 编辑