📄 showerror.jsp
字号:
<%@ page contentType="text/html;charset=gb2312"%>
<%@ include file="/agt/public/jsp/top.jsp" %>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="20" align="center"> </td>
</tr>
<tr>
<td align="center" valign="top">
<p><font face="宋体">错误信息:</font></p>
<br>
<%
String errorCode = (String)request.getAttribute("errorId");
if(errorCode == null)
{
errorCode = (String)request.getParameter("errorId");
}
if(errorCode != null)
{
errorCode = "err" + errorCode;
}
else
{
errorCode = "err0001";
}
%>
<% String errorMes = (String)request.getAttribute("errorMes");
if(errorMes == null)
{
errorMes = "";
}
%>
<p><%=Env.getErrorArgs().get(errorCode,"未知错误编号。")%></p>
<p><%=errorMes%></p>
<p>
<%
if((ErrorCode.ONEXAM_OVER_ERROR).equalsIgnoreCase((String)request.getAttribute("errorId")))
{
%>
<input name="close" type="image" onclick="window.close();" src="/agt/public/images/close_2.gif" width="82" height="22" border="0" onmouseover="this.src='/agt/public/images/'+ this.name + '_2.gif';" onmouseout="this.src='/agt/public/images/'+ this.name + '.gif'">
<%}
else if( request.getAttribute("backURL") != null)
{%>
<form name="backform" method="POST">
<input name="back" type="image" onclick="goBack();" src="/agt/public/images/back.gif" width="82" height="22" border="0" onmouseover="this.src='/agt/public/images/'+ this.name + '_2.gif';" onmouseout="this.src='/agt/public/images/'+ this.name + '.gif'">
</form>
<%}
else
{%>
<input name="back" type="image" onclick="history.back();" src="/agt/public/images/back.gif" width="82" height="22" border="0" onmouseover="this.src='/agt/public/images/'+ this.name + '_2.gif';" onmouseout="this.src='/agt/public/images/'+ this.name + '.gif'">
<%}%>
</td>
</tr>
</table>
<script language="javascript">
function goBack()
{
document.backform.action = "<%=(String)request.getAttribute("backURL")%>";
document.backform.submit();
}
</script>
<%@ include file="/agt/public/jsp/bot.jsp" %>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -