摘要: LineNumberReader reader = new LineNumberReader(new InputStreamReader( new FileInputStream(indextabProperty), "gbk")); public LineNumberReader(Reader i 阅读全文
posted @ 2016-06-27 14:37 搜索技术 阅读(107) 评论(0) 推荐(0)
摘要: IdxTableInfos extends Vector 同步性 Vector是同步的。这个类保证了Vector中的对象是线程安全的。而ArrayList则是异步的,因此ArrayList中的对象并不是线程安全的。因为同步的要求会影响执行的效率,所以如果你不需要线程安全的集合那么使用ArrayLis 阅读全文
posted @ 2016-06-27 14:26 搜索技术 阅读(183) 评论(0) 推荐(0)
摘要: request.getRequestDispatcher("/xx/xx.jsp").forward( request, response); http://blog.csdn.net/baple/article/details/11843131 阅读全文
posted @ 2016-06-27 13:54 搜索技术 阅读(394) 评论(0) 推荐(0)
摘要: request.setCharacterEncoding("gbk"); response.setContentType("text/html;charset=gbk"); 第一阶段是jsp编译成.java,它会根据pageEncoding的设定读取jsp,结果是由指定的编码方案翻译 成统一的UTF 阅读全文
posted @ 2016-06-27 13:11 搜索技术 阅读(433) 评论(0) 推荐(0)
摘要: long now = System.currentTimeMillis(); long expires = System.currentTimeMillis() + (1000 * 60 * minutes); response.addDateHeader("Expires", expires); 阅读全文
posted @ 2016-06-27 11:05 搜索技术 阅读(398) 评论(0) 推荐(0)
摘要: http://canann.iteye.com/blog/1853569 阅读全文
posted @ 2016-06-23 16:43 搜索技术 阅读(91) 评论(0) 推荐(0)
摘要: http://chenjingbo.iteye.com/blog/2008325 http://blog.csdn.net/JDream314/article/details/44039753 阅读全文
posted @ 2016-06-22 17:03 搜索技术 阅读(109) 评论(0) 推荐(0)
摘要: Spring : 基于XML Schema的配置(一): http://www.tuicool.com/articles/mMjY3uI http://www.cnblogs.com/jifeng/archive/2011/09/14/2176599.html util:constant/元素 ht 阅读全文
posted @ 2016-06-22 14:53 搜索技术 阅读(328) 评论(0) 推荐(0)
摘要: Java程序在运行时,Java运行时系统一直对所有的对象进行所谓的运行时类型标识。这项信息纪录了每个对象所属的类。 虚拟机通常使用运行时类型信息选准正确方法去执行,用来保存这些类型信息的类是Class类。 new一个对象时,包含了上面的过程。Class.forName是new一个对象的一个步骤。 即 阅读全文
posted @ 2016-06-21 16:41 搜索技术 阅读(401) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/elfylin/article/details/7422610 http://feixiang136136.iteye.com/blog/1546318 阅读全文
posted @ 2016-06-21 15:57 搜索技术 阅读(120) 评论(0) 推荐(0)