2012年9月6日
摘要: import java.util.ArrayList;import java.util.Iterator;import java.util.List;/*** 遍历数组四种方法** @author JRunner** 2009-10-26** Email:JRunner@126.com*/class Test {/** * * 注:Iterator 迭代器 * * @param args */public static void main(String[] args) {Test1 t = new Test1();Test1 t1 = new Test1();List list = new A 阅读全文
posted @ 2012-09-06 11:17 星^_^風 阅读(279) 评论(0) 推荐(0) 编辑
摘要: Java中Listener监听器作用1.1 Listener对象分类Servlet的Listener监听器包括三种类型:1、ServletContextListener 监听ServletContext对象Java代码publicvoidcontextInitialized(ServletContextEvent event); publicvoidcontextDestoryed(ServletContextEvent event);Java代码publicvoidcontextInitialized(ServletContextEventevent);publicvoidcontextDe 阅读全文
posted @ 2012-09-06 09:33 星^_^風 阅读(318) 评论(0) 推荐(0) 编辑