📄 error.jsp
字号:
<%@ page language="java" contentType="text/html; charset=GB18030"
pageEncoding="GB18030"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>出错了!</title>
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
<link rel="stylesheet" href="style.css" type="text/css">
<style type="text/css">
<!--
.STYLE2 {color: #0066FF}
-->
</style>
</head>
<script>
t = 5; // 计数器
setInterval("testTime()",1000); // 启动1秒定时
function testTime() {
if(t<0) return; // 计数器值小于0,表示尚未开始倒计时
if(t == 0) // 计数器值为0,转向
location = "javascript:history.back();";
view.innerHTML = "<b>"+t+"</b>"; // 显示倒计时
t--; // 计数器递减
}
</script>
<body>
<div align="center">
<table height="160" width="770" border="0" cellspacing="1"
align="center">
<tr>
<td><iframe name="top" height="160" width="770" scrolling="no"
src="top.jsp" frameborder="0"></iframe></td>
</tr>
</table>
</div>
<div align="center">
<table>
<tr>
<td>
<div align=center class="STYLE1">非法操作!你还没有登陆,或你没有权限!</div>
</td>
</tr>
<tr>
<td>
<div align=center><br>
<span class="STYLE2">本页将在<span id="view"></span>秒后自动返回</span></div>
</td>
</tr>
<tr>
<td><div align="center"><a href="javascript:history.back();">如果您的浏览器没有自动返回,请点击这里</a></div></td>
</tr>
</table>
</div>
<div align="center">
<table height="155" width="750" border="0" cellspacing="1"
align="center">
<tr>
<td><iframe name="bottom" height="155" width="750" scrolling="no"
src="bottom.jsp" frameborder="0"></iframe></td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -