java/nekurak.net-web/web/skriptlet.jsp
changeset 37 1b481b911614
parent 36 663fa0431c27
child 38 a2ca6c1804d1
     1.1 --- a/java/nekurak.net-web/web/skriptlet.jsp	Sun Feb 21 12:26:43 2010 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,28 +0,0 @@
     1.4 -<?xml version="1.0" encoding="UTF-8"?>
     1.5 -<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
     1.6 -    <jsp:directive.page contentType="application/xhtml+xml"/>
     1.7 -    <jsp:output doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
     1.8 -		doctype-root-element="html"
     1.9 -		omit-xml-declaration="false"/>
    1.10 -
    1.11 -    <html xmlns="http://www.w3.org/1999/xhtml">
    1.12 -	<head>
    1.13 -	    <title>Skriptlet</title>
    1.14 -	</head>
    1.15 -	<body>
    1.16 -	    <h1>Skriptlet</h1>
    1.17 -	    <p>
    1.18 -		<!-- Skriptlety jsou moc moc ošklivé a nebudeme je používat -->
    1.19 -		<jsp:scriptlet>
    1.20 -			    out.println("No nazdar! &lt;br/&gt;");
    1.21 -			    out.println("Právě je: " + new java.util.Date());
    1.22 -			    //out.println(request.getParameter("pozdrav")); // tohle nikdy nedělejte :-)
    1.23 -		</jsp:scriptlet>
    1.24 -		<!-- leda výjimečně -->
    1.25 -	    </p>
    1.26 -
    1.27 -	    
    1.28 -	</body>
    1.29 -    </html>
    1.30 -
    1.31 -</jsp:root>