<%@ page contentType="text/html; charset=gb2312" %> <%@page session="true"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> <% request.getSession().setAttribute("admin",null); request.getSession().setAttribute("userType",null); request.getSession().invalidate(); %>