摘要: 使用spring,我们在web.xml都会配置ContextLoaderListener org.springframework.web.context.ContextLoaderListener public class ContextLoade... 阅读全文
posted @ 2015-01-10 21:36 Hong_Jerry 阅读(3852) 评论(0) 推荐(0) 编辑
摘要: //事件涉及的三个组件:事件源、事件对象、事件监听器//一个总的事件监听器接口,所有不同分类的事件监听器都继承这个接口public interface EventListener {}//例如ServletContextListener 这个ServletContext监听器 他有两个方法,一个是初... 阅读全文
posted @ 2015-01-10 20:22 Hong_Jerry 阅读(760) 评论(0) 推荐(0) 编辑