<%@page import="java.io.PrintStream"%> <%@page import="java.io.ByteArrayOutputStream"%> <%@page import="org.wdk.WDKConstant"%> <%@page import="org.wdk.WDKCore"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isErrorPage="true"%> <% String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; String WDK_ROOT = WDKCore.WDK_ROOT; String RSS_ROOT = WDK_ROOT +"/"+WDKConstant.Theme+"/"+WDKCore.THEME; %> 500服务器错误
哎呀~,程序出错了!
<% //此处输出异常信息 //exception.printStackTrace(); //ByteArrayOutputStream ostr = new ByteArrayOutputStream(); // exception.printStackTrace(new PrintStream(ostr)); // out.print(ostr); %>