单项选择题
下列选项中,与请求相关的Listen接口是()
A.HttpSessionListener接口
B.ServletContextListener接口
C.ServletRequestListener接口
D.ServletContextAttributeListener接口
点击查看答案&解析
相关考题
-
单项选择题
下列选项中,不是与会话相关的Listen接口的是()
A.HttpSessionListener接口
B.HttpSessionAttributeListener接口
C.HttpSessionActivationListener接口
D.ServletContextListener接口 -
单项选择题
下列关于Filter生命周期,说法有误的是()
A.服务器会调用doFile方法对Filter对象进行初始化
B.服务器会调用init()方法对Filter对象进行初始化
C.销毁Filter对象时,服务器调用destory()方法来释放资源
D.在对多个拦截器的调用过程中,当前过滤器通过FilterChain对象的doFile()方法将请求传给下一个过滤器或其他资源 -
单项选择题
在Filter相关的API中,用于调用过滤器链中的下一个过滤器的是()
A.Filter接口
B.FilterContex接口
C.FilterConfig接口
D.FilterChain接口
