<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="com.wxpn.tutorial.servlet.User"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Language" content="zh-cn">
<title>用户注册信息</title>
</head>

<body>
<div align=center>
<table border="1" width="100%" cellspacing="1" bgColor="#cccccc"
	valign=center>
	<tr>
		<td colspan="2" align=center height="32"><font size="4" color="red"><b>注册成功!以下为用户注册信息</b></font></td>
	</tr>
	<%User user = (User) request.getAttribute("user");

			%>
	<tr>
		<td width="30%" align=right><font size="2">用户名：</font></td>
		<td width="50%"><%=(user == null) ? "" : user.getUserName()%></td>
	</tr>
	<tr>
		<td width="30%" align=right><font size="2">密码：</font></td>
		<td width="50%"><%=(user == null) ? "" : user.getUserPwd()%></td>
	</tr>

	<tr>
		<td width="30%" align=right><font size="2">真实姓名：</font></td>
		<td width="50%"><%=(user == null) ? "" : user.getRealName()%></td>
	</tr>
	<tr>
		<td width="30%" align=right><font size="2">性别：</font></td>
		<td width="50%"><%=user.getGender() == 0 ? "女" : "男"%></td>
	</tr>
	<tr>
		<td width="40%" align=right><font size="2">电话：</font></td>
		<td width="57%"><%=(user == null) ? "" : user.getTelNumber()%></td>
	</tr>
	<tr>
		<td width="40%" align=right><font size="2">Email：</font></td>
		<td width="57%"><%=(user == null) ? "" : user.getEmail()%></td>
	</tr>
	<tr>
		<td width="40%" align=right><font size="2">网址：</font></td>
		<td width="57%"><%=(user == null) ? "" : user.getHomepage()%></td>
	</tr>	
</table>
</div>
</body>
</html>
