题目内容

下面选项中,用于监听HttpSession对象中属性变更的接口是()

A. HttpSessionAttributeListener
B. ServletContextAttributeListener
C. ServletRequestAttributeListener
D. ApplicationAttributeListener

查看答案
更多问题

ServletContext对象被创建时,将会调用ServletContextListener接口中()

A. contextInitialized()
B. initializedContext ()
C. destroyedContext()
D. contextDestroyed()

一个web.xml中可以配置监听器的个数是零个或___。

用于监听ServletContext对象生命周期的接口是___。

当向被监听的域对象中增加一个属性时,Web容器就调用事件监听器的___方法进行响应。注:方法名后加()

答案查题题库