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

📄 xiugaimima.jsp

📁 JSP自动出卷系统,界面简单,功能还需要进一步扩展
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改密码</title>
<style type="text/css">
<!--
.style1 {font-size: 36px}
.STYLE2 {font-size: 18px}
body {
	background-color: #FFCC99;
}
-->
</style>
</head>
<SCRIPT language=JavaScript>
<!--
function chkForm()
{
if(form1.code.value==""){
alert("请输入旧密码");
form1.code.focus();
return false;
}
if(form1.code1.value==""){
alert("请输入密码");
form1.code1.focus();
return false;
}
if(form1.code2.value==""){
alert("请输入确认密码");
form1.code2.focus();
return false;
}
if(form1.code1.value!=form1.code2.value){
alert("你的两个密码不一样");
form1.code1.focus();
return false;
}
return true;
}
//-->
</SCRIPT>
<body onload="document.form1.id.focus()">
<%
Object Tid=session.getAttribute("Tid");
if (Tid==null){
out.print("对不起,你还没登陆,请先登陆<a href=denglu.jsp>首页</a>");
}
else
{ %>

<table width="800" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr>
    <td width="272" height="24"><a href="jiaoshijiemian.jsp" class="STYLE2">返回</a></td>
    <td width="19">&nbsp;</td>
    <td width="329">&nbsp;</td>
    <td width="26">&nbsp;</td>
    <td width="154">&nbsp;</td>
  </tr>
  <tr>
    <td height="107">&nbsp;</td>
    <td>&nbsp;</td>
    <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
        <td width="330" height="107" align="center"><span class="style1">修改密码</span></td>
      </tr>
    </table></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="70">&nbsp;</td>
    <td>&nbsp;</td>
    <td>输入您的旧密码及新密码:</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="344">&nbsp;</td>
    <td colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
        <td width="374" height="344" align="center">
        <form name="form1" method="post" action="xiugaimima_confirm.jsp" onSubmit="return chkForm()" >
          <p>旧密码
              <input type="password" name="code">
</p>
          <p>新密码 
            <input type="password" name="code1"> 
          </p>
          <p>确认密码 
            <input type="password" name="code2"> 
          </p>
          <p>
            <input type="submit" name="Submit" value="提交">          
                </p>
        </form></td>
      </tr>
    </table>    </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="109">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>
<%
}
%>

⌨️ 快捷键说明

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