PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

A.
session.removeAttribute(“Cart”);

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

C.
session.removeValue(“Cart”);

D.
session.invalidate(“Cart”);


Leave a Reply