第六章单元测试
- HttpSessionListener接口有关的方法是()
- 编写一个Filter,需要()
- 在编写过滤器时,需要完成的方法()
- 实现下列哪种接口对象,并不需要在web.xml文件中进行额外的设定,servlet容器能够回应该对象加入http会话所发生的事件()
Filter是什么()
A:Session Destroyed B:Session Created C:Session Finialized D:Session Initialized
答案:Session Destroyed###Session Created
A:实现HttpFilter接口 B:实现Filter接口 C:继承HttpFilter类 D:继承Filter类
A:doFilter() B:doChain() C:doDelete() D:doPost()
A:ServletContextListner B:HttpSessionBindingListener C:HttpSessionListener D:HttpSessionAttributeListner
A:容器 B:过滤器 C:加速器 D:重力器
温馨提示支付 ¥3.00 元后可查看付费内容,请先翻页预览!