java/nekurak.net-web/web/index.jsp
author František Kučera <franta-hg@frantovo.cz>
Sun Jul 10 19:01:03 2011 +0200 (2011-07-10)
changeset 183 96abaf49fc7a
parent 149 8238cdb4113a
child 187 e7b3ef7aaef4
permissions -rw-r--r--
Ladící výpis CSRF u hlasování.
franta-hg@3
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@10
     2
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
franta-hg@145
     3
		  xmlns:c="http://java.sun.com/jsp/jstl/core"
franta-hg@145
     4
		  xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
franta-hg@145
     5
		  xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak"
franta-hg@145
     6
		  version="2.0">
franta-hg@145
     7
	<jsp:directive.page contentType="application/xhtml+xml"/>
franta-hg@74
     8
franta-hg@179
     9
	<!--
franta-hg@179
    10
			TODO: index.jsp po přechodu na servlety přijde vyhodit.
franta-hg@179
    11
	-->
franta-hg@179
    12
franta-hg@145
    13
	<!-- <lokalizace> -->
franta-hg@145
    14
	<c:if test="${param.jazyk != null}">
franta-hg@145
    15
		<fmt:setLocale value="${param.jazyk}" scope="session"/>
franta-hg@145
    16
	</c:if>
franta-hg@145
    17
	<!-- </lokalizace> -->
franta-hg@30
    18
franta-hg@145
    19
	<!-- <výběrStránky> -->
franta-hg@145
    20
	<c:choose>
franta-hg@145
    21
		<c:when test="${param.akce == 'pridatPodnik'}">
franta-hg@145
    22
			<jsp:include page="/WEB-INF/casti/pridatPodnik.jsp" flush="false"/>
franta-hg@145
    23
		</c:when>
franta-hg@145
    24
		<c:when test="${param.akce == 'registrovatUzivatele'}">
franta-hg@145
    25
			<jsp:include page="/WEB-INF/casti/registrovatUzivatele.jsp" flush="false"/>
franta-hg@145
    26
		</c:when>
franta-hg@145
    27
		<c:when test="${param.akce == 'prihlaseni'}">
franta-hg@145
    28
			<jsp:include page="/WEB-INF/casti/prihlaseni.jsp" flush="false"/>
franta-hg@145
    29
		</c:when>
franta-hg@145
    30
		<c:when test="${param.akce == 'odeslatKomentar'}">
franta-hg@145
    31
			<jsp:include page="/WEB-INF/casti/odeslatKomentar.jsp" flush="false"/>
franta-hg@145
    32
		</c:when>
franta-hg@149
    33
		<c:when test="${param.akce == 'chat'}">
franta-hg@149
    34
			<jsp:include page="/WEB-INF/casti/chat.jsp" flush="false"/>
franta-hg@149
    35
		</c:when>
franta-hg@145
    36
		<c:otherwise>
franta-hg@145
    37
			<jsp:include page="/WEB-INF/casti/uvod.jsp" flush="false"/>
franta-hg@145
    38
		</c:otherwise>
franta-hg@145
    39
	</c:choose>
franta-hg@145
    40
	<!-- </výběrStránky> -->
franta-hg@3
    41
franta-hg@3
    42
</jsp:root>