You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
769 B

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<script type="text/javascript">
window.alert('当前登录超时,请重新登录!');
var _top = window.parent;
while(_top!=_top.parent){
_top = _top.parent;
}
var urlstr = document.location.href;
var reg = /http:\/\/[^\/]*/g;
var httpurl = reg.exec(urlstr)+"";
var str1 = urlstr.replace(/http:\/\//g,"");
var reg = /[^\/]*\/[^\/]*/g;
var str2 = reg.exec(str1)+"";
var appname = str2.replace(/[^\/]*\//g,"");
var root = httpurl+"/"+appname;
_top.document.location.href = root+"/wdk";
</script>