errorpage.jsp~5~

来自「JB做的竞卖管理」· JSP~5~ 代码 · 共 29 行

JSP~5~
29
字号
<%@ page isErrorPage="true" contentType="text/html; charset=gb2312" language="java" import="java.io.*"  %>


<HTML>
<HEAD><TITLE>Output</TITLE><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></HEAD>

<BODY BGCOLOR="#0099FF" text="#FFFFFF" link="#00FF00">
<P align="center"><FONT COLOR="#660000" 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);
        // String   str=new   String(request.getParameter("problem").getBytes("ISO8859_1"),"GB2312").toString();
%>
  <%= str %>
  <% } else { %>
  (No error code)
  <% } %>
  </B></FONT></P>

<P><B>
<p> <a href="javascript:history.back();"> &lt;&lt;Back</a> </p>
</B></P>
</BODY>
</HTML>

⌨️ 快捷键说明

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