summaryrefslogtreecommitdiffstats
path: root/src/main/webapp/entries.jsp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/webapp/entries.jsp')
-rw-r--r--src/main/webapp/entries.jsp34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/main/webapp/entries.jsp b/src/main/webapp/entries.jsp
new file mode 100644
index 0000000..d0dbdd7
--- /dev/null
+++ b/src/main/webapp/entries.jsp
@@ -0,0 +1,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> \ No newline at end of file