java/nekurak.net-web/web/WEB-INF/chyby/sablona.jsp
author František Kučera <franta-hg@frantovo.cz>
Thu Mar 18 14:22:16 2010 +0100 (2010-03-18)
changeset 73 34c7eb5f2fae
permissions -rw-r--r--
Přesun XHTML šablony do značky <nk:stranka/>
→ každá stránka teď může mít vlastní titulek (v html/head).
franta-hg@42
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@42
     2
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
franta-hg@42
     3
	  version="2.0">
franta-hg@42
     4
    <jsp:directive.page contentType="application/xhtml+xml" isErrorPage="true"/>
franta-hg@42
     5
    <jsp:output doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
franta-hg@42
     6
		doctype-root-element="html"
franta-hg@42
     7
		omit-xml-declaration="false"/>
franta-hg@42
     8
franta-hg@42
     9
    <html xmlns="http://www.w3.org/1999/xhtml">
franta-hg@42
    10
	<head>
franta-hg@42
    11
	    <title>${param.nazev}</title>
franta-hg@42
    12
	</head>
franta-hg@42
    13
	<body>
franta-hg@42
    14
	    <h1>${param.nazev}</h1>
franta-hg@42
    15
	    <p>${param.popis}</p>
franta-hg@42
    16
	</body>
franta-hg@42
    17
    </html>
franta-hg@42
    18
franta-hg@42
    19
</jsp:root>