java/nekurak.net-web/web/index.jsp
author František Kučera <franta-hg@frantovo.cz>
Tue Jul 19 15:20:47 2011 +0200 (2011-07-19)
changeset 187 e7b3ef7aaef4
parent 179 2ed9f3231a28
permissions -rw-r--r--
Odhlašování pomocí servletu.
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@187
    26
		</c:when>		
franta-hg@145
    27
		<c:when test="${param.akce == 'odeslatKomentar'}">
franta-hg@145
    28
			<jsp:include page="/WEB-INF/casti/odeslatKomentar.jsp" flush="false"/>
franta-hg@187
    29
		</c:when>		
franta-hg@145
    30
		<c:otherwise>
franta-hg@145
    31
			<jsp:include page="/WEB-INF/casti/uvod.jsp" flush="false"/>
franta-hg@145
    32
		</c:otherwise>
franta-hg@145
    33
	</c:choose>
franta-hg@145
    34
	<!-- </výběrStránky> -->
franta-hg@3
    35
franta-hg@3
    36
</jsp:root>