📄 changepswd.jsp
字号:
<jsp:include page="/include/global.jsp"/>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ page contentType="text/html; charset=GBK" %>
<html:html>
<head>
<title><bean:message key="global.productCode"/> <bean:message key="global.version"/></title>
<base target="_self">
<meta http-equiv="Pragma" content="no-cache">
<link rel="stylesheet" type="text/css" href="../../common/olstyle.css">
<script language="JavaScript" src="../../common/meizzDate.js"></script>
<script language="Javascript1.1" src="../../staticJavascript.jsp"></script>
<script language="JavaScript">
function check()
{
// if (document.userForm.oldpassword.value != document.userForm.password.value)
// {
// alert("旧密码错误,请重新输入!")
// return false;
// }
if (document.forms[0].password.value == "")
{
alert("请输入新密码!")
return false;
}
if (document.forms[0].password.value != document.forms[0].password1.value)
{
alert("两次输入的密码不一致,请重新输入!")
return false;
}
return true;
}
</script>
</head>
<body >
<html:form action="/pages/sa/user/passwordChange.do" onsubmit="return check();">
<html:hidden property="userID"/>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top">
</td>
</tr>
<tr>
<td align="center" valign="top">
<table class="dialog" width="100%" height="25" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="20" bgcolor="#669999"><div align="center"><font color="#FFFF99">修改密码</font></div></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="2" class="dialog">
<tr class="inputRow">
<td align="right" width="100"><bean:message key="global.red_asterisk"/> 用户名 </td>
<td><font color="#000099"> <bean:write name="userForm" property="username"/></font></td>
</tr>
<tr class="inputRow">
<td align="right" width="100"><bean:message key="global.red_asterisk"/> 新密码 </td>
<td><input type=password name="password" maxlength="32" title="32个字符以内" style="width:160"></td>
</tr>
<tr class="inputRow">
<td align="right" width="100"><bean:message key="global.red_asterisk"/> 密码确认 </td>
<td><input type=password name="password1" maxlength="32" title="32个字符以内" style="width:160"></td>
</tr>
</table>
<hr>
<jsp:include page="/pages/include/savebuttons.jsp"/>
</table>
<br>
</td>
</tr>
</table>
</html:form>
<iframe width=174 height=189 name="gToday:normal:agenda.js" id="gToday:normal:agenda.js" src="../../common/ipopeng.htm" scrolling="no" frameborder="0" style="visibility:visible; z-index:999; position:absolute; left:-500px; top:0px;"></iframe>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -