Chybové stránky – stejný styl/vzhled jako zbytek webu.
1 <?xml version="1.0" encoding="UTF-8"?>
2 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
3 xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
4 xmlns:c="http://java.sun.com/jsp/jstl/core"
5 xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak"
7 <jsp:directive.page contentType="application/xhtml+xml" isErrorPage="true"/>
9 <fmt:setBundle basename="cz.frantovo.nekurak.preklady" scope="application"/>
11 <fmt:message key="chybovaStranka.404.nazev" var="nazev"/>
12 <fmt:message key="chybovaStranka.404.popis" var="popis"/>
14 <nk:stranka titulek="${nazev}">
15 <h1><c:out value="${nazev}" /></h1>
16 <p class="chybovaHlaska"><c:out value="${popis}" /></p>