📄 modifyinfo.jsp
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page errorPage="error.jsp" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<html:html locale="true">
<%@ page import="store.UserInfo" %>
<%
if(session.getAttribute("customer")==null)
response.sendRedirect("default.do");
%>
<head>
<title><bean:message key="regist.title"/></title>
<LINK href="include/style.css" type=text/css rel="stylesheet">
<html:base/>
</head>
<body bgcolor="white">
<CENTER>
<%@include file="include/global.jsp"%>
<html:form action="Modify.do">
<table borderColor="white" cellSpacing="0" width="76%" borderColorLight="darkblue" border="0">
<logic:match parameter="action" value="info">
<TR bgcolor=#8BB7FF><TD align=center colSpan=2>
<bean:message key="label.modify.info"/>
</TD></TR>
<%
UserInfo UI=(UserInfo)session.getAttribute("userinfo");
%>
<TR><TD align=right width=38%>
<bean:message key="regist.name"/></TD>
<TD width=38%><html:text property="name" value="<%=UI.getName()%>"/></TD></TR>
<TR><TD align=right>
<bean:message key="regist.tel"/></TD>
<TD><html:text property="tel" value="<%=UI.getTel()%>"/></TD></TR>
<TR><TD align=right>
<bean:message key="regist.address"/></TD>
<TD><html:text property="address" value="<%=UI.getAddress()%>"/></TD></TR>
<TR><TD align=right>
<bean:message key="regist.email"/></TD>
<TD><html:text property="email" value="<%=UI.getEmail()%>"/></TD></TR>
<html:hidden property="action" value="2"/>
</logic:match>
<logic:match parameter="action" value="psw">
<TR bgcolor=#8BB7FF><TD align=center colSpan=2>
<bean:message key="label.modify.password"/>
</TD></TR>
<TR><TD align=right>
<bean:message key="label.psw"/></TD>
<TD><html:password property="password"/></TD></TR>
<TR><TD align=right>
<bean:message key="label.newpsw"/></TD>
<TD><html:password property="newpsw"/></TD></TR>
<TR><TD align=right>
<html:hidden property="action" value="3"/>
</logic:match>
<TR><TD align=right>
<html:submit value="submit"/></TD>
<TD><html:reset/></TD></TR>
<TR bgcolor=#8BB7FF><TD colSpan=2>b</TD></TR>
</TABLE>
</html:form>
<html:errors/>
</CENTER>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -