1.1 --- a/java/HibernateDemo1/HibernateDemo1-war/web/index.jsp Sat Mar 14 22:22:46 2009 +0100
1.2 +++ b/java/HibernateDemo1/HibernateDemo1-war/web/index.jsp Sat Mar 14 22:55:11 2009 +0100
1.3 @@ -1,19 +1,18 @@
1.4 -<%--
1.5 - Document : index
1.6 - Created on : 14.3.2009, 21:22:28
1.7 - Author : fiki
1.8 ---%>
1.9 +<%@page contentType="text/html" pageEncoding="UTF-8"%>
1.10 +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
1.11 +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
1.12 +<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1.13
1.14 -<%@page contentType="text/html" pageEncoding="UTF-8"%>
1.15 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
1.16 - "http://www.w3.org/TR/html4/loose.dtd">
1.17 +<fmt:setBundle basename="cz.frantovo.hibernateDemo.preklady" scope="application"/>
1.18
1.19 -<html>
1.20 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">
1.21 <head>
1.22 - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
1.23 - <title>JSP Page</title>
1.24 + <meta http-equiv="content-language" content="cs"/>
1.25 + <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8"/>
1.26 + <title><fmt:message key="nazev"/></title>
1.27 </head>
1.28 <body>
1.29 - <h1>Hello World!</h1>
1.30 + <h1><fmt:message key="nazev"/></h1>
1.31 + <jsp:include page="WEB-INF/casti/seznamCilu.jspx"/>
1.32 </body>
1.33 </html>