<%@ page import="java.util.Enumeration"%> <%@ page language="java" pageEncoding="utf-8" %> <% String flag=request.getParameter("clear"); if (flag!=null && flag.equals("1")) { Enumeration enu = session.getAttributeNames(); while(enu.hasMoreElements()){ String s = (String)enu.nextElement(); if (!s.equals("login") && !s.equals("pwdtag") && !s.equals("versionOfJxc") && !s.equals("FblForEasy")&& !s.equals("Navigator") && !s.equals("Navigatortree") ){ session.removeAttribute(s); } } } %>