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

📄 admin.jsp

📁 这个是我同学做的
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<script language=javascript>
function check()
{if (document.form1.id.value=="")
{alert ("请输入账号!");
document.form1.id.focus();
return false;}
if (document.form1.pwd.value=="")
{alert ("请输入密码!");
document.form1.pwd.focus();
return false;}
document.form1.ctype.value="types";
document.form1.submit();


}
</script>


<html>
<head>

<title>网上考试系统</title>
<link rel="stylesheet" type="text/css" href="css.css">
</head>

<body topmargin="100" leftmargin="0">
<p align="center"><b><font color="#FF0000" size="+1" class=test1>后台管理员登陆</font></b></p>
    <div align="center">
      <center>
      <form name=form1 action="yanzheng1.jsp" method="post">
      <input type=hidden name=ctype >
      <table border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="300">
        <tr>
          <td width="100" align="right">用户名:</td>
          <td width="200"> <input type="text" name="id" size="20"></td>
        </tr>
        <tr>
          <td align="right">密&nbsp; 码:</td>
          <td> <input type="password" name="pwd" size="20"></td>
        </tr>
        <tr>
          <td> </td>
          <td>
       <input type="button" value="提交" name="B1" onclick="check()"> <input type="reset" value="重置" name="B2"></td>
        </tr>
        </table>
        </form>
      </center> 
    </div>
</body>

</html>

⌨️ 快捷键说明

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