清Session @SuppressWarnings("rawtypes") public void initSession() { Enumeration em = getSession().getAttributeNames(); while (em.hasMoreElements()) { getSession().removeAttribute(em.nextElement().toString()); } }
@SuppressWarnings("rawtypes") public void initSession() { Enumeration em = getSession().getAttributeNames(); while (em.hasMoreElements()) { getSession().removeAttribute(em.nextElement().toString()); } }