单项选择题
四个监听器都是实现的ServletContextListener接口,图示为其注册顺序,这几个监听器的销毁顺序是()。
A.O->F->T->TH
B.O->T->TH->F
C.TH->T->F->O
D.TH->F->T->O
点击查看答案
相关考题
-
多项选择题
域对象的属性事件监听器实现接口会默认生成()方法。
A.attributeAdded方法
B.attributeReplaced方法
C.attributeRemoved方法
D.attributeDestroyed方法 -
多项选择题
创建HttpSession监听器后,会默认实现接口的监听器初始化和销毁两个方法,这两个方法是()。
A.sessionCreated(HttpSessionEvent hts)
B.sessionDestroyed (HttpSessionEvent hts)
C.sessionInitialized (HttpSessionEvent hts)
D.httpSessionDestroyed(HttpSessionEvent hts) -
多项选择题
按照监听对象分类,以下哪些接口是实现对象监听器?()
A.ServletContextListener
B.HttpSessionListener
C.ServletContextAtrributeListener
D.HttpSessionAtrributeListener