1.1 --- a/java/nekurak.net-web/web/WEB-INF/chyby/404.jsp Thu Feb 25 16:00:42 2010 +0100
1.2 +++ b/java/nekurak.net-web/web/WEB-INF/chyby/404.jsp Sun Jun 13 17:20:20 2010 +0200
1.3 @@ -1,16 +1,19 @@
1.4 <?xml version="1.0" encoding="UTF-8"?>
1.5 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
1.6 xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
1.7 + xmlns:c="http://java.sun.com/jsp/jstl/core"
1.8 + xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak"
1.9 version="2.0">
1.10 + <jsp:directive.page contentType="application/xhtml+xml" isErrorPage="true"/>
1.11
1.12 <fmt:setBundle basename="cz.frantovo.nekurak.preklady" scope="application"/>
1.13
1.14 <fmt:message key="chybovaStranka.404.nazev" var="nazev"/>
1.15 <fmt:message key="chybovaStranka.404.popis" var="popis"/>
1.16 -
1.17 - <jsp:include page="sablona.jsp" flush="false">
1.18 - <jsp:param name="nazev" value="${nazev}"/>
1.19 - <jsp:param name="popis" value="${popis}"/>
1.20 - </jsp:include>
1.21 +
1.22 + <nk:stranka titulek="${nazev}">
1.23 + <h1><c:out value="${nazev}" /></h1>
1.24 + <p class="chybovaHlaska"><c:out value="${popis}" /></p>
1.25 + </nk:stranka>
1.26
1.27 </jsp:root>