WebRoot/jsp/login/changePassword.jsp

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>修改密码</title>
		<%@ include file="/common/meta.jsp"%>	
<SCRIPT LANGUAGE=javascript>
function vilid(thform){
	var old = thform.oldpass;
	var new1 = thform.newpass;
	var new2 = thform.newpassage;
	if(old.value.length==0){
		alert("旧密码不能为空");
		old.focus();
		return false;
	}else if (new1.value.length==0){
		alert("新密码不能为空");
		new1.focus();
		return false;
	}else if(new2.value.length==0){
		alert("请重复输入新密码");
		new2.focus();
		return false;
	}else{
		if(new1.value!=new2.value){
			alert("两次输入的新密码不相同,请重新输入");
			new2.focus();
			return false;
		}else{
			thform.action="${pageContext.request.contextPath}/login.action?method=saveChangePassword";
			thform.submit();
		}
	}
}
</SCRIPT>
	</head>
	<body>
<div class="f6Page" id="f6Page" style="float:left;width:99%;">
    <div class="FP_toolBar" id="FP_toolBar" uic="toolbar">
        <div class="pageTitle" id="pageTitle">修改密码</div>
        <div class="buttonBar">
            <ul class="viewingButton" id="viewingButton">
            </ul>
            <div class="allButton" id="allButton">
           		 <a href="#" onclick="vilid(document.forms.gz1);"><button><span class="icon_save">保存</span></button></a>
               </ul>
            </div>
        </div>
    
    </div>
<div class="FP_pagecontent">
<form id="gz1" name="gz1" action="<%=request.getContextPath()%>/login.action?method=saveChangePassword" method="post" >
<span style="color: red">${mess }</span>
<table cellspacing="0" cellpadding="0" class="FP_containerDetailM1">
<input type="hidden" name="id"  id="id" value = "${obj.id }"/>
          <tr >
            <td class="FP_th" ><label>旧密码:</label></td>
            <td class="FP_content" ><input name="oldpass" id="oldpass"  type="text"   size="40" maxlength="40"></td>
          </tr>
后面还有 15 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。