what two techniques should be used to release an attribute called Cart stored in an HttpSession?

In the J2EE 1.3, what two techniques should be used to release an attribute called Cart stored in
an HttpSession?

In the J2EE 1.3, what two techniques should be used to release an attribute called Cart stored in
an HttpSession?

A.
session.removeAttribute(“Cart”);

B.
session.setAttribute(“Cart”, null);

C.
session.removeValue(“Cart”);

D.
session.invalidate(“Cart”);



Leave a Reply 0

Your email address will not be published. Required fields are marked *