author | František Kučera <franta-hg@frantovo.cz> |
Thu Feb 25 02:41:57 2010 +0100 (2010-02-25) | |
changeset 39 | ea342cf8c15a |
parent 37 | 1b481b911614 |
child 40 | 67d332d48562 |
permissions | -rw-r--r-- |
franta-hg@37 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
franta-hg@37 | 2 |
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" |
franta-hg@37 | 3 |
xmlns:c="http://java.sun.com/jsp/jstl/core" |
franta-hg@37 | 4 |
xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" |
franta-hg@39 | 5 |
xmlns:fn="http://java.sun.com/jsp/jstl/functions" |
franta-hg@37 | 6 |
version="2.0"> |
franta-hg@37 | 7 |
|
franta-hg@39 | 8 |
<jsp:useBean id="uvod" class="cz.frantovo.nekurak.web.Uvod" scope="request"/> |
franta-hg@39 | 9 |
|
franta-hg@39 | 10 |
<p>Naposledy přidané podniky:</p> |
franta-hg@39 | 11 |
|
franta-hg@39 | 12 |
<c:forEach var="p" items="${uvod.podniky}"> |
franta-hg@39 | 13 |
<h2><c:out value="${p.nazev}"/></h2> |
franta-hg@39 | 14 |
<p><c:out value="${p.popis}"/></p> |
franta-hg@39 | 15 |
<p> |
franta-hg@39 | 16 |
Adresa:<br/> |
franta-hg@39 | 17 |
<c:out value="${p.ulice}"/>&#160; |
franta-hg@39 | 18 |
<c:out value="${p.cisloPopisne}"/><br/> |
franta-hg@39 | 19 |
<c:out value="${p.mesto}"/> |
franta-hg@39 | 20 |
</p> |
franta-hg@39 | 21 |
<c:if test="${p.url != null}"> |
franta-hg@39 | 22 |
<p><a href="${fn:escapeXml(p.url)}">www stránka</a></p> |
franta-hg@39 | 23 |
</c:if> |
franta-hg@39 | 24 |
</c:forEach> |
franta-hg@37 | 25 |
|
franta-hg@37 | 26 |
</jsp:root> |