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

📄 userinfomanage.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>JSP for DynaValidatorForm form</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="/userInfoManage.do?method=edit&&userId=${requestScope.user.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><c:out value="${requestScope.user.userName}"></c:out></td>
				</tr>
				<tr>
					<td>密码 :</td><td><html:password property="password" value="${requestScope.user.userPassword}"/><html:errors property="password"/></td>
				</tr>
				<tr>
					<td></td><td><html:password property="confirmPassword" value="${requestScope.user.userPassword}"/><html:errors property="confirmPassword"/>
					<c:if test="${requestScope.editUserInfo=='differentPassword'}">				
						<c:out value="两次密码输入不一致"></c:out>
					</c:if>
					</td>
				</tr>
				<tr>
					<td>电话 :</td><td><html:text property="tel" value="${requestScope.user.userTel}"/><html:errors property="tel"/></td>
				</tr>
				<tr>
					<td>住址 :</td><td><html:text property="address" value="${requestScope.user.userAddress}"/><html:errors property="address"/></td>
				</tr>
				<tr>
					<td>邮编 :</td><td><html:text property="postcode" value="${requestScope.user.userPostcode}"/><html:errors property="postcode"/></td>
				</tr>
				<tr>
					<td>email :</td><td><html:text property="email" value="${requestScope.user.userEmail}"/><html:errors property="email"/></td>
				</tr>
				<tr>
					<td>个人说明 :</td><td><html:textarea property="userInfo" value="${requestScope.user.userInfo}"/><html:errors property="userInfo"/></td>
				</tr>
				<tr>
					<td></td><td><html:submit value="提交"/></td>
				</tr>
				<c:if test="${requestScope.editUserInfo=='success'}">
				<script type="text/javascript">
					alert("修改成功");
				</script>
			</c:if>
			</table>
			
		</html:form>
	</body>
</html>

⌨️ 快捷键说明

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