45464748495051525354
} } public void contextDestroyed(ServletContextEvent event) { context = event.getServletContext(); BookDBAO bookDBAO = (BookDBAO)context.getAttribute("bookDBAO"); if (bookDBAO != null) bookDBAO.remove(); context.removeAttribute("bookDBAO"); }