⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 edituser.jsp

📁 一个很好的网上商城系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html> 
	<head>
	<html:base />
		<title>编辑用户页面</title>
		<link rel="stylesheet" type="text/css" href="../../photo/css.css">
	</head>
	
	<body>
	<jsp:include flush="true" page="head.jsp"></jsp:include>
	<html:form action="/userManage.do?method=save&&userId=${requestScope.simpleUser.userId}" >
	<table border="1" width="70%" align="center" cellspacing="0" cellpadding="10" bordercolor="#8000ff">
		<tr>
    		<td colspan="2" align="center"><h3>用户编辑</h3></td>
    	</tr>    	
    	<tr>
    		<td>用户名:</td><td><html:text property="userName" value="${requestScope.simpleUser.userName}"/><html:errors property="userName"/></td>
    	</tr>
    	<tr>
    		<td>密码:</td><td><html:text property="userPassword" value="${requestScope.simpleUser.userPassword}"/><html:errors property="userPassword"/></td>
    	</tr>
    	<tr>
    		<td>电话:</td><td><html:text property="tel" value="${requestScope.simpleUser.userTel}"/><html:errors property="tel"/></td>
    	</tr>
    	<tr>
    		<td>地址:</td><td><html:text property="address" value="${requestScope.simpleUser.userAddress}"/><html:errors property="address"/></td>
    	</tr>
    	<tr>
    		<td>邮政编码:</td><td><html:text property="postcode" value="${requestScope.simpleUser.userPostcode}"/><html:errors property="postcode"/></td>
    	</tr>
    	<tr>
    		<td>Email:</td><td><html:text property="email" value="${requestScope.simpleUser.userEmail}"/><html:errors property="email"/></td>
    	</tr>
    	<tr>
    		<td>用户类型:</td>
    		<td>    		
    		<html:select property="userType" value="${requestScope.simpleUser.userType}">	
    		<html:option value="管理员">管理员</html:option>
    		<html:option value="顾客">顾客</html:option>
    		</html:select>
    		<html:errors property="userType"/>
    		</td>
    	</tr>
    	<tr>
    		<td>个人信息:</td><td><html:textarea rows="10" cols="30"property="info" value="${requestScope.simpleUser.userInfo}"/><html:errors property="info"/></td>
    	</tr>
    	<tr>
    		<td></td><td><html:submit value="提交"/></td>
    	</tr>
	</table>
		</html:form>
	</body>
</html>

⌨️ 快捷键说明

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