java/nekurak.net-web/web/index.jsp
author František Kučera <franta-hg@frantovo.cz>
Wed Jan 06 16:28:11 2010 +0100 (2010-01-06)
changeset 9 b4e6cedcceca
parent 7 c2a8f0c77f77
child 10 2c9c0de3ae64
permissions -rw-r--r--
Skriptlet.
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
     3     <jsp:directive.page contentType="application/xhtml+xml"/>
     4     <jsp:output doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
     5 		doctype-root-element="html"
     6 		omit-xml-declaration="false"/>
     7 
     8     <html xmlns="http://www.w3.org/1999/xhtml">
     9 	<head>
    10 	    <title>Nekuřák.net</title>
    11 	</head>
    12 	<body>
    13 	    <h1>Nekuřák.net</h1>
    14 	    <p>Začínáme s J2EE…</p>
    15 
    16 	    <!-- vložíme si obsah jiného souboru
    17 		 obsah WEB-INF není přímo dostupný uživateli -->
    18 	    <jsp:include page="WEB-INF/casti/paticka.jsp">
    19 		<jsp:param name="rok" value="2010" />
    20 	    </jsp:include>
    21 	</body>
    22     </html>
    23 
    24 </jsp:root>