摘要: public void export(){try {String columns = getPara("nameArray");List<Record> list = SimpleService.export(columns);HSSFWorkbook wb = new HSSFWorkbook() 阅读全文
posted @ 2016-06-12 09:54 N神3 阅读(127) 评论(0) 推荐(0) 编辑
摘要: public class Test { public static void main(String[] args) throws IOException { InputStream in = Test.class.getClassLoader().getResourceAsStream("DB.p 阅读全文
posted @ 2016-06-12 09:29 N神3 阅读(121) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) throws NoSuchAlgorithmException { String systemcode = "xxx"; //密钥 String password = "enasddsa"+systemcode; Mess 阅读全文
posted @ 2016-06-08 10:29 N神3 阅读(206) 评论(0) 推荐(0) 编辑
摘要: //递归找出文件夹里面所有文件 public static void main(String[] args) { File f=new File("c://123"); findFile(f); } public static void findFile(File f){ File[] str=f. 阅读全文
posted @ 2016-06-08 09:07 N神3 阅读(266) 评论(0) 推荐(0) 编辑
摘要: java FileReader/FileWriter读写字母和数字没问题,但读写汉字就乱码。记录下,后面找到解决方法再补上。 public static void main(String[] args) { FileReader fr = null; FileWriter fw = null; tr 阅读全文
posted @ 2016-06-07 22:09 N神3 阅读(510) 评论(0) 推荐(0) 编辑
摘要: //读取文件->写出文件 public static void main(String[] args) { InputStream in =null; OutputStream out = null; try{ File file = new File("c:\\123.doc"); in = ne 阅读全文
posted @ 2016-06-07 10:20 N神3 阅读(159) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="zh-cn"><head><meta charset="utf-8" /><title>css冻结列的效果</title><!-- 1.div里面放table或者其它容器,当子容器的宽度大于父容器时,父容器就会出现滚动条。2.头部固定不动的列让它 阅读全文
posted @ 2016-06-03 23:42 N神3 阅读(3630) 评论(0) 推荐(0) 编辑
摘要: 值得一看的书籍 microsoft sql server 2005技术内幕 汇编语言-王爽 linux内核完全注释 算法导论 编程之美 -编程之美小组 彻底搞定C指针 mysql技术内幕 阅读全文
posted @ 2016-05-30 11:12 N神3 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 一对一:<association></association> 一对多:<collection></collection> ClassMapper.xml: <resultMap type="com.taobaoo.school.domain.edu.XjClass" id="classMap"> 阅读全文
posted @ 2016-05-19 15:37 N神3 阅读(478) 评论(0) 推荐(0) 编辑
摘要: <div id="test"><div></div><div></div></div><script>function getDom() {var s= document.getElementById("test");var chils= s.childNodes; //得到s的全部子节点var p 阅读全文
posted @ 2016-05-12 18:27 N神3 阅读(173) 评论(0) 推荐(0) 编辑