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