java/nekurak.net-web/web/WEB-INF/chyby/nullPointer.jsp
author František Kučera <franta-hg@frantovo.cz>
Fri, 08 Jan 2010 01:54:47 +0100
changeset 12 fceba17855e9
child 14 0043a3b32d31
permissions -rw-r--r--
Escapování výstupu. + Chybové stránky (ve web.xml).
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
     3 	  xmlns:c="http://java.sun.com/jsp/jstl/core"
     4 	  version="2.0">
     5     <jsp:directive.page contentType="application/xhtml+xml"/>
     6     <jsp:output doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
     7 		doctype-root-element="html"
     8 		omit-xml-declaration="false"/>
     9 
    10     <html xmlns="http://www.w3.org/1999/xhtml">
    11 	<head>
    12 	    <title>500 Interní chyba serveru</title>
    13 	</head>
    14 	<body>
    15 	    <h1>500 Interní chyba serveru</h1>
    16 	    <p>Došlo k <code>NullPointerException</code>.</p>
    17 	</body>
    18     </html>
    19 
    20 </jsp:root>