| 1 | <% |
| 2 | String firstname = request.getParameter("firstname"); |
| 3 | String lastname = request.getParameter("lastname"); |
| 4 | String address = request.getParameter("address"); |
| 5 | String age = request.getParameter("age"); |
| 6 | String work = request.getParameter("work"); |
| 7 | session.setAttribute("firstname", firstname); |
| 8 | session.setAttribute("lastname", lastname); |
| 9 | session.setAttribute("address", address); |
| 10 | session.setAttribute("age", age); |
| 11 | session.setAttribute("work", work); |
| 12 | %> |
| 13 | <meta charset="UTF-8"> |
| 14 | <html> |
| 15 | <body> |
| 16 | <a href="nextpage.jsp">Continue</a> |
| 17 | </body> |
| 18 | </html> |