timeout.jsp

来自「OBPM是一个开源」· JSP 代码 · 共 41 行

JSP
41
字号
<%@ page contentType="text/html;charset=GBK" language="java"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<%
  String contextPath = request.getContextPath();
%>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<script >
//has parent window 
var typeflage = typeof(dialogArguments);
 var url = parent.location;
 var timeout ;
 var flag=10;
 var flag2 =1;
 var type1 =1;
   if(url!=null&&url!="")
{
  if(typeof(dialogArguments)!='undefined'){
   type1 =2;
  }
  else{
   var object1 = window.parent;
   window.top.location='<%=contextPath%>/login_error.jsp';
   
 }
 }else{
 window.location='<%=contextPath%>/login_error.jsp';
 }
  
//alert(temp);
</script>
<body align="center">
<table valign="center">
<tr><td style="color: red;">
你的登录已经过期,请重新登录!</td></tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?