問題詳情

52 You have a use in your web application that adds several session-scoped attributes. At theend of the use case, one of these objects, the manage attribute, is removed and then it needs todecide which of the other session-scoped attributes to remove.How can this goal be accomplished?
(A) The object of the manager attribute should implement the HttpSessionBindingListener and itshould call the removeAttribute method on the appropriate session attributes.
(B) The object of the manager attribute should implement the HttpSessionListenar and it should callthe removeAttribute method on the appropriate session attributes.
(C) The object of the manager attribute should implement the HttpSessionBindingListener rind itshould call the deleteAttribute method on the appropriate session attributes.
(D) The object of the manager attribute should implement the HttpsessionListener and it should callthe deleteAttribute method on the appropriate session attributes.

參考答案

無參考答案

內容推薦