📄 userform.jsp
字号:
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
<html>
<head>
<%@ include file="/commons/meta.jsp" %>
<title>userForm</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>用户管理</h1>
</div>
<%@ include file="/commons/messages.jsp" %>
<div id="content">
<h1>用户信息管理</h1>
<html:form action="/user.do" focus="name" styleClass="form" onsubmit="return validateUserForm(this)">
<input type="hidden" name="method" value="save"/>
<html:hidden property="id"/>
<table>
<tr>
<td><label>Name</label></td>
<td>
<html:text property="name" styleClass="text"/>
<span class="req">*</span>
<span class="fieldError"><html:errors property="name"/></span>
</td>
</tr>
<tr>
<td><label>EMail</label></td>
<td>
<html:text property="email" styleClass="text"/>
</td>
</tr>
<tr>
<td><label>Descn</label></td>
<td>
<html:textarea property="descn" rows="10" cols="40"/>
</td>
</tr>
</table>
<div>
<html:submit property="saveBtn" styleClass="button">Save</html:submit>
<html:cancel styleClass="button">Cancel</html:cancel>
</div>
</html:form>
</div>
</div>
<html:javascript formName="userForm" staticJavascript="false" dynamicJavascript="true" cdata="false"/>
<script type="text/javascript" src="${ctx}/scripts/validator.jsp"></script>
<%@ include file="/commons/footer.jsp" %>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -