anchor.diff:  		<font color="#ff0000">
   		<pre>
   <%
  -			final PrintWriter outPrinter = new PrintWriter(out);
  -			exception.printStackTrace(outPrinter);
  -			if(exception instanceof ServletException)
  -				((ServletException)exception).getRootCause().printStackTrace(outPrinter);
  +			printException(exception, out);
   		%>
   		</pre>
   		</font>
  
positive.code: 			}
  			final String id = String.valueOf(Math.abs(idLong));
  			System.out.println("--------I"+id+"-----");
  			exception.printStackTrace(System.out);
  			if(exception instanceof ServletException)
  				((ServletException)exception).getRootCause().printStackTrace(System.out);
  			System.out.println("--------O"+id+"-----");
  		%>
  		Please report the error code <i><%=id%></i> to the webmaster.<%
  
negative.code: <%@
  page isErrorPage="true" %><%@
  page import="java.io.PrintWriter" %><%@
  page import="java.io.Writer" %><%@
  page import="java.io.OutputStreamWriter" %><%@
  page import="java.util.Random"
  
  %><%!
  
  	private final Random random = new Random();
  	
  	private void printException(final Throwable exception, final Writer out)
  	{
  		final PrintWriter outPrinter = new PrintWriter(out);
  		exception.printStackTrace(outPrinter);
  		if(exception instanceof ServletException)
  		{
  			final Throwable rootCause =
  				((ServletException)exception).getRootCause();
  			if(rootCause!=null)
  				rootCause.printStackTrace(outPrinter);
  		}
  		outPrinter.flush();
  	}
  
  %><html>
  	<head>
  