From b962b010b4429b3c2670b1492e6b5b5a1ffb78ed Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 10 Apr 2018 12:04:47 +0200 Subject: [PATCH] Add exo3 first question. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- ROOT/exo3/META-INF/context.xml | 2 ++ ROOT/exo3/date.jsp | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 ROOT/exo3/META-INF/context.xml create mode 100644 ROOT/exo3/date.jsp diff --git a/ROOT/exo3/META-INF/context.xml b/ROOT/exo3/META-INF/context.xml new file mode 100644 index 0000000..00e2ff6 --- /dev/null +++ b/ROOT/exo3/META-INF/context.xml @@ -0,0 +1,2 @@ + diff --git a/ROOT/exo3/date.jsp b/ROOT/exo3/date.jsp new file mode 100644 index 0000000..8634bba --- /dev/null +++ b/ROOT/exo3/date.jsp @@ -0,0 +1,10 @@ +<%@ page import="java.io.*, java.util.*, javax.servlet.*" %> + + + Aujourd'hui est le + <% + Date date = new Date(); + out.print(date.toString()); + %> + + -- 2.34.1