Add exo3 first question.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 10 Apr 2018 10:04:47 +0000 (12:04 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 10 Apr 2018 10:04:47 +0000 (12:04 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
ROOT/exo3/META-INF/context.xml [new file with mode: 0644]
ROOT/exo3/date.jsp [new file with mode: 0644]

diff --git a/ROOT/exo3/META-INF/context.xml b/ROOT/exo3/META-INF/context.xml
new file mode 100644 (file)
index 0000000..00e2ff6
--- /dev/null
@@ -0,0 +1,2 @@
+<Context path=""
+       antiResourceLocking="false" />
diff --git a/ROOT/exo3/date.jsp b/ROOT/exo3/date.jsp
new file mode 100644 (file)
index 0000000..8634bba
--- /dev/null
@@ -0,0 +1,10 @@
+<%@ page import="java.io.*, java.util.*, javax.servlet.*" %>
+<html>
+<body>
+    Aujourd'hui est le
+    <%
+        Date date = new Date();
+        out.print(date.toString());
+    %>
+</body>
+</html>