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

📄 error.jsp

📁 不错的留言本 主要功能:   ·支持UBB;   ·屏蔽HTML;   ·加入表情;   ·发言
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" isErrorPage="true"%>
<%
String error=request.getParameter("error");
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>时空留言本v2.0-错误</title>
<style type="text/css">
<!--
body {
	border: 1px 1 #CCCCCC;
}
.bian {
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #969696;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #999999;
}
.f12 {
	font-family: "宋体";
	font-size: 12px;
	color: #000000;
	text-decoration: none;
	line-height: 23px;
}
.bian1 {
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #969696;
	border-left-color: #969696;
}
a:link {
	font-family: "宋体";
	font-size: 12px;
	color: #333333;
	text-decoration: none;
}
a:visited {
	font-family: "宋体";
	font-size: 12px;
	color: #333333;
	text-decoration: none;
}
a:hover {
	font-family: "宋体";
	font-size: 12px;
	color: #333333;
	text-decoration: underline;
}
a:active {
	font-family: "宋体";
	font-size: 12px;
	color: #333333;
	text-decoration: none;
}
-->
</style>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="60%" height="70%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#111111" class="f12" style="border-collapse: collapse">
  <tr> 
    <td width="100%" height="210"> <table class="f12" border="0" cellpadding="0" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="187">
        <tr> 
          <td width="100%" class="tablebody1" height="16"> <p align="center"><img src="images/images/error.gif" width="122" height="50" border="0">  
            <p align="center"><br>
              <br>
              以下内容格式错误<br>
              <font color="#333333"><strong><font color="#333333"><strong><font color="#FF0000">
              <%
	if(error.equals("1"))
	{
		out.print("文件大小必须小于1MB!");
		out.print("只能上传.JPG.GIF类型的文件!");
	}
	if(error.equals("2"))
	{
		out.print("数据库更新出错!");
	}
	
    if(error.equals("3"))
	{
		out.print("没有找到页面!");
	}
		
	if(error.equals("4"))
	{
		out.print("未知出错!");
	}
	
	if(error.equals("5"))
	{
		out.print("密码或用户错误!");
	}
	
	if(error.equals("6"))
	{
		out.print("你选则的用户名已经被注册!");
	}
	if(error.equals("7"))
	{
		out.print("你没有权限登陆!");
	}
%>
              </font></strong></font></strong></font><br>
              <br>
              <a href="javascript:history.back(1)"><b>返回重新填写</b></a></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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