logout.jsp 454 B

123456789101112131415
  1. <%@ page contentType="text/html; charset=gb2312" %>
  2. <%@page session="true"%>
  3. <%
  4. request.getSession().setAttribute("shanghu",null);
  5. request.getSession().setAttribute("userType",null);
  6. request.getSession().invalidate();
  7. %>
  8. <script>
  9. var win=window;
  10. while(win.parent!=window.top)
  11. {
  12. win=win.parent;
  13. }
  14. win.parent.location.replace("qiantai/shanghu/shanghulogin.jsp");
  15. </script>