摘要: 1 // 动态分页 2 public List findPage(String hqlBuffer, int PageSize, 3 int PageNo); 4 // 获得总记录数 5 public int getCount(String hqlBuffer); 1 @SuppressWarnings("unchecked") 2 ... 阅读全文
posted @ 2017-05-05 15:31 尽欢 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 1 //时间戳 2 StringBuffer sb = new StringBuffer(); 3 SimpleDateFormat formatter = new SimpleDateFormat("yyyyMMdd"); 4 sb.append(formatter.format(date)); 阅读全文
posted @ 2017-05-05 15:20 尽欢 阅读(1188) 评论(0) 推荐(0) 编辑
摘要: 1 private String treatFile(File file, int type, 2 Remotecertapply remotecertapply)//要上传的对象 3 { 4 if (file == null) 5 return "图片文件为空"; 6 if (file.leng... 阅读全文
posted @ 2017-05-05 14:54 尽欢 阅读(7956) 评论(0) 推荐(0) 编辑
摘要: 1 新建html文件可以运行(jsp文件下不可运行) 2 3 4 5 6 7 29 30 31 32 div1 33 div2 34 35 div4 36 37 38 ... 阅读全文
posted @ 2017-05-05 12:03 尽欢 阅读(1672) 评论(0) 推荐(0) 编辑
摘要: 1 double-date.js代码 2 3 $(function() { 4 var dateStr = '<>今日清空一二三四五六日' 5 $(dateStr).appendTo($(".date")); 6 var $date0 = $(".date:first"), 7 $date1 = $(".date:... 阅读全文
posted @ 2017-05-05 11:32 尽欢 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 1 //html可以运行 2 3 4 5 6 7 8 9 38 39 40 41 42 43 54 55 第一个 56 57 第二个... 阅读全文
posted @ 2017-05-05 10:51 尽欢 阅读(3206) 评论(0) 推荐(0) 编辑