java/nekurak.net-web/web/skriptlet.jsp
author František Kučera <franta-hg@frantovo.cz>
Tue, 12 Jan 2010 18:19:43 +0100
changeset 17 f12459f8b482
parent 12 fceba17855e9
permissions -rw-r--r--
Added tag 2. díl for changeset 50e275fcc2e3
franta-hg@9
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@9
     2
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
franta-hg@9
     3
    <jsp:directive.page contentType="application/xhtml+xml"/>
franta-hg@9
     4
    <jsp:output doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
franta-hg@9
     5
		doctype-root-element="html"
franta-hg@9
     6
		omit-xml-declaration="false"/>
franta-hg@9
     7
franta-hg@9
     8
    <html xmlns="http://www.w3.org/1999/xhtml">
franta-hg@9
     9
	<head>
franta-hg@9
    10
	    <title>Skriptlet</title>
franta-hg@9
    11
	</head>
franta-hg@9
    12
	<body>
franta-hg@9
    13
	    <h1>Skriptlet</h1>
franta-hg@9
    14
	    <p>
franta-hg@9
    15
		<!-- Skriptlety jsou moc moc ošklivé a nebudeme je používat -->
franta-hg@9
    16
		<jsp:scriptlet>
franta-hg@9
    17
			    out.println("No nazdar! &lt;br/&gt;");
franta-hg@9
    18
			    out.println("Právě je: " + new java.util.Date());
franta-hg@9
    19
			    //out.println(request.getParameter("pozdrav")); // tohle nikdy nedělejte :-)
franta-hg@9
    20
		</jsp:scriptlet>
franta-hg@9
    21
		<!-- leda výjimečně -->
franta-hg@9
    22
	    </p>
franta-hg@9
    23
franta-hg@12
    24
	    
franta-hg@9
    25
	</body>
franta-hg@9
    26
    </html>
franta-hg@9
    27
franta-hg@9
    28
</jsp:root>