java/nekurak.net-web/web/WEB-INF/chyby/404.jsp
author František Kučera <franta-hg@frantovo.cz>
Thu Feb 09 12:23:09 2012 +0100 (2012-02-09)
changeset 202 8d141ea76a2d
parent 145 0efefbf5f8b6
permissions -rw-r--r--
Texy syntaxe: oprava chyby – ztrácely se konce řádků (problém u elementů s atributy).
     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"
     6 		  version="2.0">
     7 	<jsp:directive.page contentType="application/xhtml+xml" isErrorPage="true"/>
     8 
     9 	<fmt:message key="chybovaStranka.404.nazev" var="nazev"/>
    10 	<fmt:message key="chybovaStranka.404.popis" var="popis"/>
    11 
    12 	<nk:stranka titulek="${nazev}">
    13 		<h1><c:out value="${nazev}" /></h1>
    14 		<p class="chybovaHlaska"><c:out value="${popis}" /></p>
    15 	</nk:stranka>
    16 
    17 </jsp:root>