summaryrefslogtreecommitdiff
path: root/src/lq/ViewQuotes.java
diff options
context:
space:
mode:
authorKjetil Ørbekk <orbekk@pvv.ntnu.no>2010-09-02 00:34:33 -0400
committerKjetil Ørbekk <orbekk@pvv.ntnu.no>2010-09-02 00:34:33 -0400
commit699b451675830da041d09a6e32045772788ad66e (patch)
treecc3e46670503599dd546dbc1652189dd2b4fc02e /src/lq/ViewQuotes.java
Framework for Lino Quotes
Diffstat (limited to 'src/lq/ViewQuotes.java')
-rw-r--r--src/lq/ViewQuotes.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lq/ViewQuotes.java b/src/lq/ViewQuotes.java
new file mode 100644
index 0000000..cc03f51
--- /dev/null
+++ b/src/lq/ViewQuotes.java
@@ -0,0 +1,14 @@
+package lq;
+
+import java.io.IOException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+public class ViewQuotes extends HttpServlet {
+ public void doGet(HttpServletRequest req, HttpServletResponse resp)
+ throws IOException {
+ resp.setContentType("text/plain");
+ resp.getWriter().println("Hello, World!");
+ }
+}