📄 chgpassword.jsp.svn-base
字号:
<%@ page import="com.nsi.components.util.LoginuserUtil" %>
<html>
<head>
<meta http-equiv="content-style-type" content="text/css">
<meta http-equiv="pragma" content="no-cache">
<%
if ( LoginuserUtil.getInstance().isNotLogined(request) )
{
%><meta http-equiv="refresh" content="0; url=/entrance.jsp"><%
}
%>
<title>Achievo-RMS Change Password</title>
<link href="../theme/master.css" rel="stylesheet" type="text/css">
<script language="javascript">
<!--
function isvalidpwd(theform)
{
if (theform.newpwd.value == "")
{
alert("Please enter new password")
theform.newpwd.focus()
return false
}
else if (theform.renewpwd.value == "")
{
alert("Please enter new password")
theform.renewpwd.focus()
return false
}
else if (theform.newpwd.value != theform.renewpwd.value )
{
alert("New password not match, please re-enter.")
theform.newpwd.focus()
return false
}
else
{
theform.submit()
return true
}
}
//-->
</script>
</head>
<body onload="javascript:document.pwd_form.newpwd.focus();">
<form name="pwd_form" method="post" action="/rms/mainservlet">
<table width="837" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%">
<h1>Change Password</h1>
<p>You are going to change Login Password for Login Name <b><%= LoginuserUtil.getInstance().getLoginid(request) %></b>. Please note, your password is case sensitive and should be 12 characters long or less. </p>
<input type="hidden" class="cell" name="loginid" value="<%= LoginuserUtil.getInstance().getLoginid(request) %>">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="50"> </td>
<td width='175"' class="txtHighlight">New Password</td>
<td width="100" class="cellCenter"><input type="password" class="cell" size="12" maxlength="12" name="newpwd"></td>
<td width="512"> </td>
</tr>
<tr>
<td> </td>
<td class="txtHighlight">Verify Password</td>
<td class="cellCenter"><input type="password" class="cell" size="12" maxlength="12" name="renewpwd"></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td class="cellCenter">
<input type="hidden" class="cell" name="urlmapping" value="/user/chgpassword">
<input type="button" class="cell" name="pwd_submit" value="Change" onclick="isvalidpwd(this.form);">
</td>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -