franta-hg@41: <?xml version="1.0" encoding="UTF-8"?>
franta-hg@41: <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
franta-hg@41: 	  xmlns:c="http://java.sun.com/jsp/jstl/core"
franta-hg@41: 	  xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
franta-hg@41: 	  xmlns:fn="http://java.sun.com/jsp/jstl/functions"
franta-hg@41: 	  version="2.0">
franta-hg@41: 
franta-hg@41:     <jsp:useBean id="podnik" class="cz.frantovo.nekurak.dto.Podnik" scope="request"/>
franta-hg@41:     <jsp:useBean id="pridatPodnik" class="cz.frantovo.nekurak.web.PridatPodnik" scope="request"/>
franta-hg@41: 
franta-hg@41: 
franta-hg@41:     <c:choose>
franta-hg@41: 	<c:when test="${param.odhlasit == 'ano'}">
franta-hg@41: 	    <p>Odhlášení proběhlo úspěšně</p>
franta-hg@41: 	</c:when>
franta-hg@41: 	<c:otherwise>
franta-hg@41: 	    <h1>Přihlášení</h1>
franta-hg@41: 	    <p>Zadejte jméno a heslo</p>
franta-hg@41: 
franta-hg@41: 	    <c:if test="${param.chyba == 'ano'}">
franta-hg@41: 		<p>Nesprávné jméno nebo heslo, zkuste to prosím znovu.</p>
franta-hg@41: 	    </c:if>
franta-hg@41: 
franta-hg@41: 	    <form method="post" action="j_security_check">
franta-hg@41: 		<fieldset>
franta-hg@41: 		    <label>Jméno: <input type="text" name="j_username"/></label><br/>
franta-hg@41: 		    <label>Heslo: <input type="password" name="j_password"/></label><br/>
franta-hg@41: 		    <button value="submit">Přihlásit se</button>
franta-hg@41: 		</fieldset>
franta-hg@41: 	    </form>
franta-hg@41: 	</c:otherwise>
franta-hg@41:     </c:choose>
franta-hg@41: 
franta-hg@41: 
franta-hg@41: 
franta-hg@41: </jsp:root>