summaryrefslogtreecommitdiffstats
path: root/src/main/webapp/entries.jsp
blob: d0dbdd72dee446c968af7876f4d3dffe625b2447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:useBean id="dbBean" class="org.qcg.qcgdata.gdrop.GetEntriesBean" scope="request" />
<html>
<head>
    <title>Entries</title>
</head>
<body>
    <table>
        <tbody>
            <c:forEach var="entry" items="${dbBean.entries}">
                <tr>
                    <td>
                        <c:out value="${entry.id}" />
                    </td>
                    <td>
                        <c:out value="${entry.uri}" />
                    </td>
                    <td>
                        <c:out value="${entry.ticket}" />
                    </td>
                    <td>
                        <a href='get/<c:out value="${entry.ticket}"/>'>get</a>
                    </td>
                    <td>
                        <a href='delete?ticket=<c:out value="${entry.ticket}"/>'>delete</a>
                    </td>

                </tr>
            </c:forEach>
        </tbody>
    </table>
</body>
</html>