多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

Given that a scoped attribute cart exist only in a user’s session, which two, taken independently, ensure the scoped attribute cart no longer exists?()

  • 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>
正确答案:D,E
答案解析:
进入题库查看解析

微信扫一扫手机做题