jsp+javabeans的显示小问题
input.jsp
<%@ page contentType= "text/html; charset=gb2312 " language= "java " import= "java.sql.* "
errorPage= " " %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN " "http://www.w3.org/TR/html4/loose.dtd ">
<html>
<head>
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 ">
<title> 无标题文档 </title>
</head>
<body>
<table width= "560 " border= "0 " cellpadding= "0 " cellspacing= "0 ">
<!--DWLayoutTable-->
<form name= "form1 " method= "post " action= "input2.jsp ">
<tr>
<td height= "42 " colspan= "2 " valign= "top "> 测试: </td>
</tr>
<tr>
<td width= "121 " height= "26 " align= "right " valign= "top "> 性别: </td>
<td width= "439 " valign= "top ">
<input type= "radio " name= "gender " value= "male ">
男
<input type= "radio " name= "gender " value= "female ">
女
</td>
</tr>
<tr>
<td height= "24 " align= "right " valign= "top "> 年龄: </td>
<td valign= "top "> <input type= "text " name= "age "> </td>
</tr>
<tr>
<td height= "24 " align= "right " valign= "top "> 体重: </td>
<td valign= "top "> <input type= "text " name= "weight "> </td>
</tr>
<tr>
<td height= "27 " valign= "top "> <input type= "submit " name= "Submit " value= "提交 "> </td>
<td valign= "top "> <!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height= "158 "> </td>
<td> </td>
</tr> </form>
</table>
</body>
</html>
input2.jsp
<%@ page contentType= "text/html; charset=gb2312 "