<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@page import="java.io.PrintWriter"%> <%@page import="java.io.StringWriter"%> 错误500
提示您:服务器发生内部错误!
您可以选择: 刷新    返回
<% if (request.getRemoteAddr().equals(request.getLocalAddr())) { Exception ex = (Exception) request .getAttribute("javax.servlet.error.exception"); if (ex != null) { pageContext .getServletContext() .log( new StringBuilder().append("IP:").append( request.getRemoteAddr()).append( ",Path:").append(request.getRequestURI()).toString(), ex); %>

错误信息:

<%=ex.getMessage()%>


错误堆栈:

<% StringWriter sw = new StringWriter(); ex.printStackTrace(new PrintWriter(sw)); sw.close(); out.println(sw.toString().replace("\n", "
")); %>

<% } } %>