franta-hg@12
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
franta-hg@12
|
2 |
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
|
franta-hg@12
|
3 |
xmlns:c="http://java.sun.com/jsp/jstl/core"
|
franta-hg@12
|
4 |
version="2.0">
|
franta-hg@15
|
5 |
<jsp:directive.page contentType="application/xhtml+xml" isErrorPage="true"/>
|
franta-hg@12
|
6 |
<jsp:output doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
|
franta-hg@12
|
7 |
doctype-root-element="html"
|
franta-hg@12
|
8 |
omit-xml-declaration="false"/>
|
franta-hg@12
|
9 |
|
franta-hg@12
|
10 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
franta-hg@12
|
11 |
<head>
|
franta-hg@12
|
12 |
<title>500 Interní chyba serveru</title>
|
franta-hg@12
|
13 |
</head>
|
franta-hg@12
|
14 |
<body>
|
franta-hg@12
|
15 |
<h1>500 Interní chyba serveru</h1>
|
franta-hg@12
|
16 |
<p>Tak to se nám něco pořádně nepovedlo.
|
franta-hg@12
|
17 |
Mnozí se v takových případech uchylují ke lžím a řeknou uživateli,
|
franta-hg@12
|
18 |
že probíhá údržba, ať přijde příště :-)</p>
|
franta-hg@15
|
19 |
|
franta-hg@15
|
20 |
<!-- v pageContext nalezneme informace o chybě: -->
|
franta-hg@15
|
21 |
<p>Stavový kód: ${pageContext.errorData.statusCode}<br/>
|
franta-hg@15
|
22 |
|
franta-hg@15
|
23 |
<!-- takhle se zjistí IP adresa klienta
|
franta-hg@15
|
24 |
(ne že bychom to teď potřebovali) -->
|
franta-hg@15
|
25 |
IP adresa klienta: ${pageContext.request.remoteAddr}<br/>
|
franta-hg@15
|
26 |
|
franta-hg@15
|
27 |
<!-- tohle si samozřejmě necháme pro sebe,
|
franta-hg@15
|
28 |
ale kdybychom informaci o výjimce někdy potřebovali, víme, kde ji hledat -->
|
franta-hg@15
|
29 |
Chyba: <c:out value="${pageContext.errorData.throwable}"/>
|
franta-hg@15
|
30 |
</p>
|
franta-hg@12
|
31 |
</body>
|
franta-hg@12
|
32 |
</html>
|
franta-hg@12
|
33 |
|
franta-hg@12
|
34 |
</jsp:root>
|