下面选项中,能够用于监听域对象属性增加和删除的事件监听器的是()
A: 实现ServletContextAttributeListener接口的类
B: 实现ServletRequestAttributeListener接口的类
C: 实现HttpSessionBindingListener接口的类
D: 实现HttpSessionAttributeListener接口的类
A: 实现ServletContextAttributeListener接口的类
B: 实现ServletRequestAttributeListener接口的类
C: 实现HttpSessionBindingListener接口的类
D: 实现HttpSessionAttributeListener接口的类
A,A,A,B,D
举一反三
- 下面选项中,能够用于监听绑定到HttpSession域中对象状态的事件监听器的是() A: 实现HttpSessionListener接口的类 B: 实现HttpSessionActivationListener接口的类 C: 实现HttpSessionBindingListener接口的类 D: 实现HttpSessionAttributeListener接口的类
- 用于监听域对象属性增加和删除的监听器接口有()。 A: ServletContextAttributeListener接口 B: HttpSessionAttributeListener接口 C: ServletRequestAttributeListener接口 D: HttpSessionListener接口
- 实现ServletContextAttributeListener接口的监听器类,可以用于监听【 】对象中的属性变更
- 实现ServletRequestAttributeListener接口的监听器类,可以用于监听ServletRequest对象中的属性变更
- 实现___接口的监听器类,可以用于监听HttpSession对象中的属性变更。
内容
- 0
实现___接口的监听器类,可以用于监听ServletRequest对象中的属性变更。
- 1
当TOMCAT启动时,实现哪个接口监听这个动作( ) A: ServletRequestAttributeListener B: ServletContextListener C: ServletContextAttributeListener D: HttpSessionAttributeListener
- 2
下面选项中,用于监听HttpSession域对象创建及销毁的监听器接口是() A: HttpSessionAttributeListener B: HttpSessionListener C: HttpSessionBindingListener D: HttpSessionActivationListener
- 3
智慧职教: 为了监听鼠标移动事件,监听器必须实现_________接口,或者继承____________类。
- 4
要对键盘按键响应,需要对KeyEvent事件监听。KeyEvent事件监听器是实现KeyListener接口的类对象。()