📄 logout.jsp
字号:
<%@page contentType="text/html"%><%@page pageEncoding="gbk"%><%@page import="czm.*"%><%--The taglib directive below imports the JSTL library. If you uncomment it,you must also add the JSTL library to the project. The Add Library... actionon Libraries node in Projects view can be used to add the JSTL 1.1 library.--%><%--<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> --%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>退出登录</title> </head> <body> <h1>退出登录</h1> <% if(AuthManager.Logout(session, AuthManager.UserRole)) { Cookie[] cookies=request.getCookies(); for(int i=0; i<cookies.length; i++) { cookies[i].setMaxAge(0); response.addCookie(cookies[i]); } %> <center> 你已安全退出本站,欢迎下次再次光临<br/> <a href="default.html">返回首页</a> </center> <% } %> </body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -