code030.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>session</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="code031.jsp">
<div align="center">
<table width="60%" border="0">
<tr>
<td width="36%">你的名字是:</td>
<td width="64%">
<input type="text" name="name" id="name">
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" name="submit" value="提交" >
</td>
</tr>
</table>
</div>
</form>
</body>
</html>