1.1 --- a/java/HrisniciSpameri/web/index.jsp Wed Feb 11 17:52:08 2009 +0100
1.2 +++ b/java/HrisniciSpameri/web/index.jsp Wed Feb 11 19:36:28 2009 +0100
1.3 @@ -1,19 +1,28 @@
1.4 -<%--
1.5 - Document : index
1.6 - Created on : 11.2.2009, 16:54:21
1.7 - Author : fiki
1.8 ---%>
1.9 -
1.10 <%@page contentType="text/html" pageEncoding="UTF-8"%>
1.11 +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
1.12 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
1.13 - "http://www.w3.org/TR/html4/loose.dtd">
1.14 +"http://www.w3.org/TR/html4/loose.dtd">
1.15
1.16 <html>
1.17 <head>
1.18 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
1.19 - <title>JSP Page</title>
1.20 + <link href="styl.css" type="text/css" rel="StyleSheet"/>
1.21 + <title>Hříšníci spameři</title>
1.22 </head>
1.23 <body>
1.24 - <h1>Hello World!</h1>
1.25 + <h1>Hříšníci spameři</h1>
1.26 +
1.27 +
1.28 + <c:choose>
1.29 + <c:when test="${param.s == 'ucitele'}">
1.30 + <jsp:include page="souhrn.jspx"/>
1.31 + </c:when>
1.32 + <c:when test="${param.s == 'komise'}">
1.33 + <jsp:include page="souhrn.jspx"/>
1.34 + </c:when>
1.35 + <c:otherwise>
1.36 + <jsp:include page="souhrn.jspx"/>
1.37 + </c:otherwise>
1.38 + </c:choose>
1.39 </body>
1.40 </html>