From b044930b49e51ffd25eb1c1ff49c987d7d2b0ea4 Mon Sep 17 00:00:00 2001 From: "John H. Anthony" Date: Sat, 4 Sep 2010 15:05:28 +0200 Subject: implemented voting Voting now appears to work, using the AddVote servlet. The datastore update is not committed as a transaction yet; the quote and its votes has to be in the same entity group for transactions to work. --- html/quotes.jsp | 4 ++-- src/WEB-INF/web.xml | 10 +++++++++ src/lq/AddVote.java | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++ src/lq/Printer.java | 2 +- 4 files changed, 78 insertions(+), 3 deletions(-) create mode 100644 src/lq/AddVote.java diff --git a/html/quotes.jsp b/html/quotes.jsp index 0c2fd17..3813350 100644 --- a/html/quotes.jsp +++ b/html/quotes.jsp @@ -33,9 +33,9 @@ hr {