📄 checkmanagerresult.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" %>
<jsp:useBean id="chinese" scope="request" class="com.tool.Chinese"/>
<%@ page import="com.actionForm.ManagerForm"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>显示结果</title>
</head>
<body>
<br>
<%
if(request.getAttribute("result")==null){
ManagerForm form=(ManagerForm)request.getAttribute("form");
session.setAttribute("form",form);
//session.setMaxInactiveInterval(3600);
%>
<script language='javascript'>alert('用户登录成功');window.location.href='newsAction.do?method=selectNewsAction';</script>
<%
}else{
String result=(String)request.getAttribute("result");
%>
<script language='javascript'>alert('<%=result%>');window.location.href='index.jsp';</script>
<%}%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -