📄 mangadmin.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My JSP 'MangAdmin.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="../../css/admin.css">
</head>
<body>
<html:form action="/adminInfo" method="post">
<input type="hidden" name="admin.adminId" value="${requestScope.adm.adminId}"/>
<input type="hidden" name="method" value="addAdmin"/>
<table class="table2" cellspacing="1" cellpadding="0" border="0" width="700px">
<tr><th>登录名:</th><td><html:text property="admin.adminName" value="${requestScope.adm.adminName}"/></td>
<th>密码:</th><td><html:password property="admin.adminPass" /></td>
</tr>
<tr><th>姓名:</th><td><html:text property="admin.realName" value="${requestScope.adm.realName}"/></td>
<th>性别:</th><td><input type="radio" value="男" name="admin.adminSex" checked="checked"/>男
<logic:equal name="${requestScope.adm.adminSex}" value="女">
<input type="radio" value="女" name="admin.adminSex" checked="checked"/>女
</logic:equal>
<logic:notEqual name="${requestScope.adm.adminSex}" value="女">
<input type="radio" value="女" name="admin.adminSex"/>女
</logic:notEqual></td></tr>
<tr><th>联系电话:</th><td><html:text property="admin.adminTel" value="${requestScope.adm.adminTel}"/></td>
<th>电子邮箱:</th><td><html:text property="admin.adminEmail" value="${requestScope.adm.adminEmail}"/></td></tr>
<tr><th>QQ:</th><td><html:text property="admin.adminQq" value="${requestScope.adm.adminQq}"/></td>
<th>邮编:</th><td><html:text property="admin.adminCode" value="${requestScope.adm.adminCode}"/></td></tr>
<tr><th>地址:</th><td><html:text property="admin.adminAddr" value="${requestScope.adm.adminAddr}" size="20" maxlength="50" style="width=200px;"/></td>
<th>注册时间:</th><td>
<html:text property="admin.adminDate" value="${requestScope.adm.adminDate}" style="width=100px;"/>
<html:text property="admin.adminTime" value="${requestScope.adm.adminTime}" style="width=100px;"></html:text>
</td></tr><html:errors property="error"/>
<tr><td colspan="4" align="center"><input type="button" onclick="bao()" value="提交"/><html:reset value="重置"/></td></tr>
</table>
</html:form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -