exo7: add cookies handling code.
[TD_webapps.git] / ROOT / exo7 / nextpage.jsp
index 862741423411db6fbf625e344646e4bba74c77a8..f54b811eac7ed3a6246f97201c95ea3f103639ca 100644 (file)
@@ -1,5 +1,9 @@
 <html>
     <body>
-        Bonjour <%= session.getAttribute("theName") %>
+        Bonjour <% out.print(session.getAttribute("firstname")); %>
+        <% out.print(session.getAttribute("lastname")); %>,
+        <% out.print(session.getAttribute("age")); %> years old
+        living at <% out.print(session.getAttribute("address")); %>
+        working as <% out.print(session.getAttribute("work")); %>
     </body>
 </html>