update

来源:互联网 发布:手机怎么清除网络劫持 编辑:程序博客网 时间:2024/05/17 22:32

<%@page contentType="text/html;charset=utf-8"%>
<%@taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<body>
<html:form action="/update">
  <table width="100%" border="1" align="center">
    <tr>
      <td width="31%"><div align="center">用户名</div></td>
      <td width="69%"><html:text property="userName"/></td>
    </tr>
    <tr>
      <td><div align="center">密码</div></td>
      <td><html:password property="pwd"/></td>
    </tr>
    <tr>
      <td><div align="center">生日</div></td>
      <td><html:text property="birthday"/></td>
    </tr>
    <tr>
      <td><div align="center">性别</div></td>
      <td>
       <html:select property="sex">
        <html:options collection="sexes" property="code" labelProperty="name"/>
       </html:select></td>
    </tr>
    <tr>
      <td colspan="2"><input type="submit" name="Submit" value="修改" /></td>
    </tr>
  </table>
</html:form>
</body>
</html>