repositories
/
TD_webapps.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add exo5 code.
[TD_webapps.git]
/
ROOT
/
exo5
/
date.jsp
diff --git a/ROOT/exo5/date.jsp
b/ROOT/exo5/date.jsp
new file mode 100644
(file)
index 0000000..
8d4bff7
--- /dev/null
+++ b/
ROOT/exo5/date.jsp
@@ -0,0
+1,11
@@
+<%@ page import="java.io.*, java.util.*, javax.servlet.*" %>
+<html>
+<body>
+ <%! Date theDate = new Date();
+ String getDate() {
+ return theDate.toString();
+ }
+ %>
+ Aujourd'hui est le <%= getDate() %>
+</body>
+</html>