📄 logout.jsp
字号:
<%@ page contentType="text/html;charset=gb2312"%>
<%@ page import="law.user" %>
<jsp:useBean id="log" class="law.user" scope="session"/>
<html>
<head><title>logout</title></head>
<body>
<center>
<%
if(log.getLogin().equals("true")){
session.invalidate();
response.sendRedirect("index.htm");
}
else{
out.print("<font color=#FF0000>您还没有登录。<br><a href='index.htm'>首页 </a>");
}
%>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -