<html
    xmlns:jsp="http://java.sun.com/JSP/Page"
    xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0"
    xml:lang="nl" lang="nl">
  <jsp:output omit-xml-declaration="true" />
  <jsp:directive.page session="false" isErrorPage="true" />
  <mm:content language="nl" type="text/html" postprocessor="reducespace" expires="0">
    
    <head>
      <title><mm:import id="title">500 <jsp:expression>exception != null ? exception.getMessage() : " fout "</jsp:expression></mm:import><mm:write referid="title" /></title>
      <mm:link  page="/mmbase/style/favicon.ico">
        <link rel="icon" href="${_}" type="image/x-icon" />
        <link rel="shortcut icon" href="${_}" type="image/x-icon" />
      </mm:link>
      <mm:link page="/mmbase/style/css/mmbase.css">
        <link rel="stylesheet" href="${_}" />
      </mm:link>
    </head>
    <body>
      <div id="frame" >           
             
        <div id="content">        
          <h1><mm:write referid="title" /></h1>
          <p>
            Deze pagina bevat een fout.
          </p>
          <mm:log jspvar="log"><jsp:scriptlet>log.warn(exception, exception);</jsp:scriptlet></mm:log>
          <pre>
            STACK
            <mm:import id="trace">
              <jsp:scriptlet>
                if (exception != null) { 
                exception.printStackTrace(new java.io.PrintWriter(out));
                } 
              </jsp:scriptlet>
            </mm:import>
            <mm:write referid="trace" />
          </pre>          
        </div>
      </div>
    </body>
  </mm:content>
</html>