Hi all!
Given that a scoped attribute cart exists only in a user's session,which two,taken independently ensure the scoped attribute cart no longer exists?(choose two)
A,${cart=null}
B,<c:remove var="cart"/>
C,<c:remove var="${cart}"/>
D,<c:remove var="cart" scope="session"/>
E,<c:remove scope="session">cart</c:remove>
F,<c:remove var="${cart}" scope="session"/>
G,<c:remove scope="session">${cart}</c:remove>
the answer is D,E
but I think the answer is B,D, am I wrong?
thanks in advance!