摘要:
使用spring,我们在web.xml都会配置ContextLoaderListener org.springframework.web.context.ContextLoaderListener public class ContextLoade... 阅读全文
摘要:
//事件涉及的三个组件:事件源、事件对象、事件监听器//一个总的事件监听器接口,所有不同分类的事件监听器都继承这个接口public interface EventListener {}//例如ServletContextListener 这个ServletContext监听器 他有两个方法,一个是初... 阅读全文