A developer wants a web application to be notified when the application is about to be shut down. Which two actions are necessary to accomplish this goal?()
- A、Include a listener directive in a JSP page
- B、configure a listener in the TLD file using the
element - C、Include a
element in the web application deployment descriptor - D、configure a listener in the application deployment descriptor, using the
element - E、Include a class implementing ServletContextListener as part of the web application deploymen
正确答案:D,E
答案解析:有

微信扫一扫手机做题