servlet小型项目
servlet小项目publicclassBookListenerimplementsServletContextListener{publicvoidcontextDestroyed(ServletContextEventarg0){//TODOAuto-generatedmethodstub}publicvoidcontextInitialized(ServletContextEventevent){Mapmap=newTreeMap();Bookb1=newBook(1,"corejava",100);Bookb2=newBook(