exo7: fix to the form cinematic.
[TD_webapps.git] / ROOT / exo7 / saveinfos.jsp
diff --git a/ROOT/exo7/saveinfos.jsp b/ROOT/exo7/saveinfos.jsp
new file mode 100644 (file)
index 0000000..11b0f65
--- /dev/null
@@ -0,0 +1,18 @@
+<%
+String firstname = request.getParameter("firstname");
+String lastname = request.getParameter("lastname");
+String address = request.getParameter("address");
+String age = request.getParameter("age");
+String work = request.getParameter("work");
+session.setAttribute("firstname", firstname);
+session.setAttribute("lastname", lastname);
+session.setAttribute("address", address);
+session.setAttribute("age", age);
+session.setAttribute("work", work);
+%>
+
+<html>
+    <body>
+        <a href="nextpage.jsp">Continue</a>
+    </body>
+</html>