试题详情
- 单项选择题 You have a use case in your web application that adds several session-scoped attributes. At the end of theuse case, one of these objects, the manager attribute, is removed and then it needs to decide which of theother session-scoped attributes to remove. How can this goal be accomplished?()
A、The object of the manager attribute should implement the HttpSessionBindingListener and it should call the removeAttribute method on the appropriate session attributes.
B、The object of the manager attribute should implement the HttpSessionListener and it should call the removeAttribute method on the appropriate session attributes.
C、The object of the manager attribute should implement the HttpSessionBindingListener and it should call the deleteAttribute method on the appropriate session attributes.
D、The object of the manager attribute should implement the HttpSessionListener and it should call the deleteAttribute method on the appropriate session attributes.
- A
关注下方微信公众号,在线模考后查看
热门试题
- 针对Set
- 以下不属于tcp连接断开的状态是()。
- 如何区分多个构造函数?()
- Which retrieves
- 内部框架用于在主框架内部显示一系列子框架
- What produces&
- 有一堆桃子(个数不超过1000),如果分
- 已知表达式int m[]={0,1,2,
- What is th
- 以下关于应用程序主类的描述,哪项错误?(
- public class&e
- Given the&ensp
- public class&e
- class java&ens
- 类 StudentQ
- 在Java中,带返回值的为函数,不带返回
- Which two
- Which code&ensp
- 在JAVA接口中可以定义()
- 下列哪些方法是在编译时刻绑定的?()