⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 errorpage_ad.jsp

📁 在线教育平台: 从小学
💻 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>
<link rel="stylesheet" href="style.css" type="text/css">
<style type="text/css">
<!--
.STYLE1 {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>
<P align="center"><FONT COLOR="#FF0000" SIZE=2><B> <%
	//if (exception != null) {
		//out.print(exception.toString());
	//} else 
		if (request.getAttribute("problem") != null) {
		String str =(String) request.getAttribute("problem");
		// byte[] tmpbyte=str.getBytes("ISO8859_1");
// str=new String(tmpbyte);
%> <%= str %> <% } else { %> (No error code) <% } %> </B></P>
<div align="center"><br />
<span class="STYLE1">本页将在<span id="view"></span>秒后自动跳转</span></div>
<B></B>
<p align=center>
  <a href="javascript:history.back();">如果您的浏览器没有自动返回,请点击这里</a></p>

</body>
</html>

⌨️ 快捷键说明

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