exo3: add question 2 code.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 10 Apr 2018 10:16:49 +0000 (12:16 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 10 Apr 2018 10:16:49 +0000 (12:16 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
ROOT/exo3/table.jsp [new file with mode: 0644]

diff --git a/ROOT/exo3/table.jsp b/ROOT/exo3/table.jsp
new file mode 100644 (file)
index 0000000..309afe4
--- /dev/null
@@ -0,0 +1,17 @@
+<%@ page import="java.io.*, java.util.*, javax.servlet.*" %>
+<html>
+<body>
+
+<table>
+<%
+    for (int i = 0; i < 10; i++) {
+        out.println("<tr>");
+        out.println("<td>Nombre</td>");
+        out.println("<td>" + i + "</td>");
+        out.print("</tr>");
+    }
+%>
+</table>
+
+</body>
+</html>