java/nekurak.net-web/web/index.jsp
changeset 30 705871ca12e9
parent 26 fc3e84d87e01
child 31 bae2ead150f7
     1.1 --- a/java/nekurak.net-web/web/index.jsp	Thu Feb 11 03:13:57 2010 +0100
     1.2 +++ b/java/nekurak.net-web/web/index.jsp	Thu Feb 18 01:22:22 2010 +0100
     1.3 @@ -1,20 +1,23 @@
     1.4  <?xml version="1.0" encoding="UTF-8"?>
     1.5  <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
     1.6  	  xmlns:c="http://java.sun.com/jsp/jstl/core"
     1.7 +	  xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
     1.8  	  version="2.0">
     1.9      <jsp:directive.page contentType="application/xhtml+xml"/>
    1.10      <jsp:output doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
    1.11  		doctype-root-element="html"
    1.12  		omit-xml-declaration="false"/>
    1.13  
    1.14 +    <fmt:setBundle basename="cz.frantovo.nekurak.preklady" scope="application"/>
    1.15 +
    1.16      <html xmlns="http://www.w3.org/1999/xhtml">
    1.17  	<head>
    1.18 -	    <title>Nekuřák.net</title>
    1.19 +	    <title><fmt:message key="nazev"/></title>
    1.20  	    <link href="styl.css" type="text/css" rel="StyleSheet"/>
    1.21  	</head>
    1.22  	<body>
    1.23 -	    <h1>Nekuřák.net</h1>
    1.24 -	    <p>Načítáme údaje z databáze.</p>
    1.25 +	    <h1><fmt:message key="nazev"/></h1>
    1.26 +	    <p><fmt:message key="popis"/></p>
    1.27  
    1.28  
    1.29  	    <!-- jednoduchá podmínka -->