单项选择题
如果要对Session的创建及销毁进行监听,则应该让监听器实现()接口。
A.HttpSessionIdListener
B.HttpSessionAttributeListener
C.HttpSessionListener
D.HttpSessionBindingListener
点击查看答案&解析
相关考题
-
单项选择题
Servlet3.0标准中通过DispatcherType定义了过滤器的执行范围,下面()项不属于过滤范围。
A.ASYNC
B.REQUEST
C.ERROR
D.RESPONSE -
单项选择题
下面()方法不属于GenericServlet类定义。
A.service()
B.doGet()
C.init()
D.getServletConfig() -
单项选择题
下面选项中JSP内置对象与其接口不匹配的一项是()。
A.request和ServletRequest
B.response和HttpServletResponse
C.config和HttpServletConfig
D.session和HttpSession
