Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%--
- Document : home.jsp
- Created on : May 6, 2016, 10:23:00 AM
- Author : Lazar
- --%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
- <%@page contentType="text/html" pageEncoding="UTF-8"%>
- <!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>HOME</title>
- </head>
- <body>
- <h1>Log In Form</h1>
- <br>
- <c:if test="${not empty greska}">
- <p style="color: red;">${greska}</p>
- </c:if>
- <br> <hr>
- <from action="Login" method="POST">
- Username:<input type ="text" name="username" value="${validuser}" placeholder="Username"/><br> <br>
- Password: <input type ="PASSWORD" name="password" placeholder="Password" /> <br> <br>
- <input type="submit" value="Log In"/>
- <input type="RESET" value="Reset!"/>
- </from>
- <hr>
- <c:if test="${not empty predstave}">
- <table border="1">
- <tr>
- <th>IDpred</th>
- <th>Naziv</th>
- <th>Rezija</th>
- <th>Glumci</th>
- <th>Datum</th>
- <th>Pozoriste</th>
- </tr>
- <c:forEach var="i" items="${predstave}">
- <tr>
- <td>${i.idpred}</td>
- <td>${i.naziv}</td>
- <td>${i.rezija}</td>
- <td>${i.glumci}</td>
- <td>${i.datum}</td>
- <td>${i.pozoriste}</td>
- </tr>
- </c:forEach>
- </table>
- </c:if>
- <c:if test="${empty predstave}">
- <p style="color:red;">Nema predstave za sledecu nedelju!</p>
- </c:if>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement