updatePassword.jsp
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:3k
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="com.domain.UserForm"%>
- <%@ page import="com.tool.Chinese"%>
- <%UserForm form=(UserForm)session.getAttribute("form");%>
- <%session.setAttribute("form",form);%>
- <%session.setMaxInactiveInterval(3600);%>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>添写新的密码</title>
- <style type="text/css">
- <!--
- body {
- background-color: #000000;
- margin-left: 0px;
- margin-top: 0px;
- }
- td{
- font-size:9pt;
- }
- .style1 {font-size: 11pt}
- -->
- </style>
- </head>
- <script language="JavaScript">
- function RgTest(){
- if(document.form.mm.value==""){
- window.alert("请输入新原来的密码");
- return false;
- }
- if(document.form.password.value==""){
- window.alert("请再输入新原来的密码");
- return false;
- }
- if(document.form.password.value!=document.form.mm.value){
- window.alert("密码不一致,请重新输入");
- return false;
- }
- return true;
- }
- </script>
- <body>
- <table width="579" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
- <tr>
- <td> </td>
- </tr>
- </table>
- <table width="579" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td align="left" valign="top" bgcolor="#FFFFFF"> <table width="579" height="487" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td align="left" valign="top" bgcolor="#FFFFFF"><table width="579" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="2%" height="28"> </td>
- <td width="9%" background="images/circle.jpg"> </td>
- <td width="89%" bgcolor="#FFFFFF"><span class="style1">输入新的密码</span></td>
- </tr>
- <tr style="line-height:2px">
- <td width="2%" height="5"> </td>
- <td height="5" colspan="2" bgcolor="#D4D0C8"> </td>
- </tr>
- <tr align="center" valign="top" bgcolor="#FFFFFF">
- <td height="454" colspan="3">
-
- <form name="form" method="post" action="../../../userUpdatePassword.do?user-id=<%=request.getParameter("id")%>" onSubmit="return RgTest()">
-
- <p> </p>
- <table width="57%" border="4" cellspacing="0" cellpadding="0">
- <tr>
- <td width="31%" height="41"><div align="center">输入新的密码</div></td>
- <td width="69%"><div align="center"><input type="text" name="mm"></div></td>
- </tr>
- <tr>
- <td width="31%" height="41"><div align="center">再输入新的密码</div></td>
- <td width="69%"><div align="center"><input type="text" name="password"></div></td>
- </tr>
- </table>
- <p>
- <input type="submit" name="Submit2" value="提交">
-
- <input type="reset" name="Submit" value="重置">
- </p>
- </form>
- </table></td>
- </tr>
- </table></td>
- </tr>
- </table>
- </body>
- </html>