adminmodiuser.jsp

来自「jsp+struts+hibernate eclipse开发实用电子商务商城」· JSP 代码 · 共 63 行

JSP
63
字号
<%@ page contentType="text/html; charset=gb2312" %>
<%@ taglib uri="/struts-bean" prefix="bean" %>
<%@ taglib uri="/struts-html" prefix="html" %>
<html>
<head>
<title><bean:message key="admin.pageTitle"/></title>
<link href="../CSS/stylesheet.css" rel="stylesheet" type="text/css">
<style type="text/css">
	<!--
	body {
		background-color: lightgrey;
	}
	-->
</style>
</head>
<body>
<html:javascript formName="adminForm"/>
<html:form action="/Admin/admin.do?method=modiAdmin" onsubmit="return validateAdminForm(this);">
  <table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr height="40">
        <td colspan="2" class="itemTitle" align="center">
        	<bean:message key="admin.modify"/>
        </td>
      </tr>
      <tr height="30">
        <td width="160" align="right"><bean:message key="admin.realname"/>:</td>
        <td><html:text property="adminName" size="41" styleClass="textBox"/></td>
     </tr>
      <tr height="30">
        <td valign="top"  align="right"><bean:message key="admin.loginName"/>:</td>
        <td><html:text property="loginName" size="41" styleClass="textBox"/></td>
     </tr>
      <tr height="30">
        <td valign="top"  align="right"><bean:message key="admin.loginPwd"/>:</td>
        <td><html:text property="loginPwd" size="41" styleClass="textBox"/></td>
     </tr>
      <tr height="30">
        <td valign="top"  align="right"><bean:message key="admin.type"/>:</td>
        <td>
        	<html:select property="adminType" styleClass="textBox">
	        	<html:option value="1"><bean:message key="admin.type1"/></html:option>
	        	<html:option value="2"><bean:message key="admin.type2"/></html:option> 
	        	<html:option value="3"><bean:message key="admin.type3"/></html:option> 
	        	<html:option value="4"><bean:message key="admin.type4"/></html:option> 	        		        		        	        	
        	</html:select>
        </td>
     </tr>          
      <tr height="30">
        <td colspan="2" align="center">
			<html:reset><bean:message key="reset.text"/></html:reset>
			<html:submit><bean:message key="submit.text"/></html:submit>
		</td>
     </tr>
      <tr>
        <td height="30" align="center" colspan="2" class="redText">
			<html:errors property="modiAdminStatus"/>
		</td>
      </tr>
    </table>
	<input type="hidden" name="id" value="<%=request.getAttribute("id")%>">	
</html:form>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?