摘要: 1.ServletContext监听器: 用来监听ServletContext的创建与销毁 步骤: a、编写一个监听器类去实现监听器接口 b、覆盖监听器的方法 c、需要在web.xml中进行配置 注册 2.ServletContextAttributeListener ServletContext属 阅读全文
posted @ 2018-05-19 17:06 0==1&1==0 阅读(148) 评论(0) 推荐(0) 编辑