📄 error.jsp
字号:
<%@ page contentType="text/html; charset=GB2312" %>
<%
String errorinfo=request.getParameter("errorinfo");
//80xx表示一些参数没有得到,但是不需要告诉用户相关信息
//81xx表示一些参数没有得到,但是需要告诉用户相关信息
//82xx表示数据库执行相关错误
if(errorinfo.equalsIgnoreCase("8001")){
errorinfo="系统信息出错!";
}else if(errorinfo.equalsIgnoreCase("8101")){
errorinfo="请输入授权组名!!";
}else if(errorinfo.equalsIgnoreCase("8102")){
errorinfo="系统获取授权组ID错误!!";
}else if(errorinfo.equalsIgnoreCase("8201")){
errorinfo="系统添加授权组出错!!";
}else if(errorinfo.equalsIgnoreCase("8202")){
errorinfo="系统修改授权组出错!!";
}else if(errorinfo.equalsIgnoreCase("8203")){
errorinfo="系统删除授权组出错!!";
}
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
<link rel="stylesheet" type="text/css" href="css/css.css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table border="1" width="100%" bordercolor="A1B7DB" class="collapse">
<tr bgcolor="3366CC">
<td class="common" align="center" ><font color="#FFFFFF">系统错误!</font></td>
</tr>
<tr >
<td class="common" bgcolor="D4E8F4" align="center"><a href="javascript:history.go(-1)" ><%=(errorinfo)%></a></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -