标签:
1,
2,
public class MyListener implements ServletContextListener {
public void contextDestroyed(ServletContextEvent arg0) {
System.out.println("---销毁----");
}
public void contextInitialized(ServletContextEvent arg0) {
System.out.println("----初始化------");
}
}
标签:
原文地址:http://www.cnblogs.com/tian114527375/p/4937686.html