summaryrefslogtreecommitdiff
path: root/src/lq/ViewQuotes.java
diff options
context:
space:
mode:
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!");
+ }
+}