1<%-- $HeadURL: svn+ssh://jwilden@svn.wald.intevation.org/deegree/apps/services-template/trunk/web/error.jsp $ --%> 2<!-- $Id: error.jsp 19893 2009-10-01 12:49:58Z jmays $ --> 3<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isErrorPage="true" %> 4<% 5 if ( exception == null && request.getAttribute( "javax.servlet.jsp.jspException" ) != null ) { 6 exception = (Exception) request.getAttribute( "javax.servlet.jsp.jspException" ); 7 } 8 if ( exception == null ) { 9 exception = new Exception( "Exception UNAVAILABLE: Tracing Stack..." ); 10 } 11%> 12<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> 13<html> 14 <head> 15 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 16 <meta http-equiv="expires" content="0" /> 17 <title>Error - <%=exception.getMessage()%></title> 18 <link rel="stylesheet" href="./css/deegree.css" /> 19 </head> 20 <body bgcolor="#FFFFFF" text="#000000" leftmargin="10" rightmargin="10" topmargin="0" 21 marginwidth="0" marginheight="0" link="#2D2A63" vlink="#2D2A63" alink="#E31952"> 22 23 <jsp:include page="deegree_header.jsp" flush="true" /> 24 <table align="center" width="75%" cellpadding="5" cellspacing="5"> 25 <tr> 26 <td bgcolor="lightgrey" align="center"> 27 <h1><font color="red">Error</font></h1> 28 </td> 29 </tr> 30 <tr> 31 <td> </td> 32 </tr> 33 <tr> 34 <td> 35 <b>The following error has occured: <%=exception.getMessage() %></b> 36 </td> 37 </tr> 38 <tr> 39 <td> 40 <p>Sorry, your request cannot be completed. The server run into the 41 following error:</p> 42 <h2>Stack Trace:</h2> 43 <pre> 44 <% exception.printStackTrace( ); %> 45 </pre> 46 <p>Please notify the administrator. Thank you.</p> 47 </td> 48 </tr> 49 </table> 50 </body> 51</html> 52