struts2注解

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page pageEncoding="utf-8" contentType="text/html;charset=utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>增加用户</title>
<%@ include file="/common/jsCss.jsp"%>
</head>

<body class="input">
<div id="xx.yy" class="bar"><span class="fl">用户管理 -> 增加用户</span></div>
<s:form action="save_user" namespace="/admin" validate="true">
<div class="body">
<s:hidden id="id" name="id" />
<table class="inputTable tabContent" id="con_formTab_1" style="display: table;">
<tbody>
<tr class="specificationDisabledInfo">
<th><label for="sysUser.userName">用户名:</label></th>
<td><s:textfield cssClass="formText" id="sysUser.userName" name="sysUser.userName"/><label class="requireField">*</label></td>
</tr>
<tr class="specificationDisabledInfo">
<th><label for="sysUser.userPassword">密码:</label></th>
<td><s:password cssClass="formText" id="sysUser.userPassword" name="sysUser.userPassword"/><label class="requireField">*</label></td>
</tr>
<tr class="specificationDisabledInfo">
<th><label for="reUserPassword">确认密码:</label></th>
<td><s:password cssClass="formText" id="reUserPassword"  name="reUserPassword"/><label class="requireField">*</label></td>
</tr>
<tr class="specificationDisabledInfo">
<th><label for="sysUser.userType">用户类型:</label></th>
<td><s:select cssClass="formSelect" id="sysUser.userType" name="sysUser.userType" headerKey="" headerValue="%{getText('common.selectone')}" list="getAdminUserTypeMap()" listKey="key" listValue="value"/><label class="requireField">*</label></td>
</tr>
<tr class="specificationDisabledInfo">
<th><label  for="sysUser.email">邮件:</label></th>
<td><s:textfield cssClass="formText" id="sysUser.email" name="sysUser.email" /><label class="requireField">*</label></td>
</tr>
<tr class="specificationDisabledInfo">
<th><label for="sysUser.remarks">备注:</label></th>
<td><s:textarea id="sysUser.remarks" name="sysUser.remarks" cssClass="formTextarea"/></td>
</tr>
</tbody>
</table>
</div>
<div class="buttonArea">
<input type="submit" hidefocus="" value="确  定" class="formButton"/>&nbsp;&nbsp;
<input type="button" hidefocus="" value="返  回" onclick="window.history.back(); return false;" class="formButton"/>
</div>
</s:form>
</body>
</html>

你可能感兴趣的:(struts2)