📄 accountcontent.jsp
字号:
<%@page contentType = "text/html; charset=GB2312" %><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %><%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %><%@ page import="org.redsoft.forum.ForumConstants" %><%@page import="org.redsoft.forum.dao.Account"%><% Account account =(Account)request.getAttribute( ForumConstants.ACCOUNT );%> <html:errors/> <!-- page body ------------------------------------------------------------------------------------------------- Body of page is made up of 3 columns. Each column contains a table with two rows, the first row is the header, the second row contains the body. --> <html:form action="/editAccount" focus="oldpassword"> <TABLE cellSpacing="0" cellPadding="0" width="760" border="0" class="headstyle11" align="center" bgcolor="#FFFFFF"> <TBODY align="left"> <TR> <TD valign="top" style="width:65%"> <TABLE width="100%" border="0" cellspacing="3" cellpadding="3" align="center" bgcolor="#FFFFFF"> <TBODY align="left"> <TR> <TD align="left" width="100%"> <P align="center"> <FONT SIZE="3">更新用户资料</FONT> </P> </TD> </TR> <TR><TD ALIGN="CENTER"> <TABLE width="80%" border="0" cellspacing="0" cellpadding="0"> <TR> <TD width="30%"> <FONT size="3">输入旧密码:</FONT> </TD> <TD width="70%"> <html:password property="oldpassword" style="width:120" maxlength="15"/> </TD> </TR> <TR> <TD width="30%"> <FONT size="3">输入新密码:</FONT> </TD> <TD width="70%"> <html:password property="password" style="width:120" maxlength="15"/> </TD> </TR> <TR> <TD width="30%"> <FONT size="3">确认新密码:</FONT> </TD> <TD width="70%"> <html:password property="confirmedPassword" style="width:120" maxlength="15"/> </TD> </TR> <TR> <TD width="30%"> <FONT size="3">Email地址:</FONT> </TD> <TD width="70%"> <% if( account == null ){ %> <html:text property="email" style="width:200" maxlength="30"/> <%}else{%> <html:text name="account" property="email" style="width:200" maxlength="30"/> <%}%> </TD> </TR> </TD></TR></TABLE> <TR> <TD style="width:70%" colspan="2" align="CENTER"> <input type="submit" id="btnLogon" name="btnLogon" value="提交" style="HEIGHT: 23px; WIDTH: 50px; COLOR: #ffffff; FONT-FAMILY: 宋体; BACKGROUND-COLOR: #3366cc; TEXT-ALIGN: center"> <input type="button" id="btnClear" name="btnClear" value="清除" onclick="clearValues()" style="HEIGHT: 23px; WIDTH: 50px; COLOR: #ffffff; FONT-FAMILY: 宋体; BACKGROUND-COLOR: #3366cc; TEXT-ALIGN: center"> </TD> </TR> </TBODY> </TABLE> </FORM> </TD> <TD bgcolor="#ffffff" style="width:0.5%"> </TD> <TD style="HEIGHT:100%;width:33.5%" valign="top"> </TD> </TR> </TBODY> </TABLE> </html:form><script language="javascript">function clearValues(){document.EditAccountForm.oldpassword.value = '';document.EditAccountForm.password.value = '';document.EditAccountForm.confirmedPassword.value = '';document.EditAccountForm.email.value = '';}</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -