java/nekurak.net-web/web/WEB-INF/casti/prihlaseni.jsp
author František Kučera <franta-hg@frantovo.cz>
Thu, 04 Mar 2010 22:42:34 +0100
changeset 54 793a89cba0f8
parent 53 d76be0124c40
child 73 34c7eb5f2fae
permissions -rw-r--r--
Added tag 7. díl for changeset d76be0124c40
     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:fn="http://java.sun.com/jsp/jstl/functions"
     6 	  version="2.0">
     7 
     8     <jsp:useBean id="podnik" class="cz.frantovo.nekurak.dto.Podnik" scope="request"/>
     9     <jsp:useBean id="pridatPodnik" class="cz.frantovo.nekurak.web.PridatPodnik" scope="request"/>
    10 
    11 
    12     <c:choose>
    13 	<c:when test="${param.odhlasit == 'ano'}">
    14 	    <p><fmt:message key="prihlaseni.odhlaseniUspesne"/></p>
    15 	</c:when>
    16 	<c:otherwise>
    17 	    <h1><fmt:message key="prihlaseni.nadpis"/></h1>
    18 	    <p><fmt:message key="prihlaseni.zadejte"/></p>
    19 
    20 	    <c:if test="${param.chyba == 'ano'}">
    21 		<p class="chybovaHlaska"><fmt:message key="prihlaseni.chyba"/></p>
    22 	    </c:if>
    23 
    24 	    <form method="post" action="j_security_check">
    25 		<fieldset>
    26 		    <label><fmt:message key="prihlaseni.jmeno"/>: <input type="text" name="j_username"/></label><br/>
    27 		    <label><fmt:message key="prihlaseni.heslo"/>: <input type="password" name="j_password"/></label><br/>
    28 		    <button value="submit"><fmt:message key="prihlaseni.tlacitko"/></button>
    29 		</fieldset>
    30 	    </form>
    31 	</c:otherwise>
    32     </c:choose>
    33 
    34 
    35 
    36 </jsp:root>