admin_logout.jsp
来自「自己编写的jsp+mysql论坛系统,带后台系统.不是很完善,但是功能是完整的」· JSP 代码 · 共 25 行
JSP
25 行
<%@ page language="java" contentType="text/html; charset=GBK"
pageEncoding="GBK"%>
<!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=GBK">
<title>注销登录</title>
</head>
<body>
<!-- 载入页头 -->
<jsp:include page="admin_include.jsp"></jsp:include>
<%
if ((null != session.getAttribute("adminlogin"))
|| (null != session.getAttribute("premission"))) {
session.removeAttribute("adminlogin");
session.removeAttribute("premission");
response.sendRedirect("admin_login.jsp");
} else {
response.sendRedirect("../error.jsp");
}
%>
<!-- 载入页尾 -->
<jsp:include page="../include/foot.jsp"></jsp:include>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?