⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modpass.jsp

📁 医药管理
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>修改密码</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" href="/cliniquemanager/pages/css/style.css" type="text/css" />
    <script type="text/javascript">
        function registV(authorpwd){
           var oldpwd = document.getElementById("password").value;
           if(oldpwd!=authorpwd){
             alert("你输入密码不对!");
             return false;
           }
           var newpwd = document.getElementById("newpassword").value;
           var prepwd = document.getElementById("prepassword").value;
           if(newpwd==""||newpwd==null){
              alert("请输入新密码!");
              return false;
           }
           if(newpwd!=prepwd){
              alert("两次输入的密码不一致!");
              return false;
           }
           return true;
        }
    </script>
  </head>
  
  <body background="image/main_bg.gif">
    <c:if test="${changepwd}">
       <script type="text/javascript">
          alert("修改成功!请重新登录后生效!");
       </script>
    </c:if>
<table width="699" height="67" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#CDCDCD">
  
  <caption align="center"><font style="font:'新宋体'">修改个人密码</font></caption>
  <form action="<%=request.getContextPath()%>/login.do?method=changePassword" method="post"  onsubmit="return registV('${managerinfo.password}');">
  <input type="hidden" name="id"  value="${managerinfo.id}"/>
  <input type="hidden" name="remark"  value="${managerinfo.remark}"/>
  <tr  align="center" bgcolor="#FAFAFA">
    <td height="32" >输入密码:</td>
	<td  height="32"><input type="password" id="password" name="password" size="30"  /></td>
  </tr>
  <tr align="center" bgcolor="#FAFAFA">
    <td  height="32">新密码:</td>
    <td  height="32"><input type="password" id="newpassword" name="newpassword" size="30"  /></td>
  </tr>
  <tr align="center" bgcolor="#FAFAFA">
    <td  height="32">确认密码:</td>
    <td  height="32"><input type="password" id="prepassword" name="prepassword" size="30" /></td>
  </tr>
  <tr align="center" bgcolor="#FAFAFA">
    <td  height="32"></td>
    <td align="center"  height="32"><input type="submit" name="submit" value="更新" /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 
    <input type="reset" name="reset" value="重置" />
    </td>
  </tr>
  </form>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -