24,923
社区成员
发帖
与我相关
我的任务
分享
public class InitListener implements ServletContextListener {
public void contextDestroyed(ServletContextEvent arg0) {
}
public void contextInitialized(ServletContextEvent arg0) {
File file = new File("tree.xml");
TreeManager.path = file.getPath();
TreeManager.getTree();
}
}