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

📄 error.jsp

📁 一个JAVA做的博客系统。系统采用JSP + JS + TOMCAT + MYSQL制作。用户能上传图片和音乐到系统中。游客和用户自己能在页面中浏览文件和听歌。
💻 JSP
字号:
<%@page pageEncoding="gb2312" import = "java.util.HashMap" %>
<%@page contentType="text/html; charset=gb2312"%>
<%
  request.setCharacterEncoding("gb2312");
  HashMap props = (HashMap)session.getAttribute("props");
  String err = (String)props.get("err");
  props.remove("err");
  session.setAttribute("props", props);
%>
<html>
  <head>
	<script language="javascript">
	  var time = 3;
	  iInter = setInterval(jump,1000);
	  function jump()
	  {
		var p = document.getElementById("p");
		p.firstChild.nodeValue = time--;
		if(time == -1)
		{
		  clearInterval(iInter);
		  document.getElementById("toShowTs").submit();
		}
	  }
	</script>
  </head>
  <body>
	<div>
	  <p><%=err%></p>
	  <p>我们将于<label id="p">3</label>秒后返回!</p>
	</div>
	<div style="visibility:hidden;display:none">
	  <form id="toShowTs" name="toShowTs" method="post" action="ShowTs"/>
	</div>
  </body>
</html>

⌨️ 快捷键说明

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