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

📄 managerlogon.jsp

📁 一个使用jdbc存储和调用大对象(比如图片等)的例子
💻 JSP
字号:
<html>
<head>
<title>用户登陆</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="bbs.css">
<script language="javascript">
function checkForm() {	
	if (document.form1.managername.value == "") {
		alert("用户名不能为空");
		form1.managername.focus();
		return false;
	}	
	document.form1.submit();
}

function resetForm() {
	document.form1.reset();
}
</script>
</head>
<body bgcolor="#FF9900" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<br>
<br>
<table width="100" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td><img src="images/master.gif" width="266" height="32"></td>
  </tr>
  <tr align="center" valign="middle"> 
    <td> 
      <form name="form1" method="post" action="managerlogonreg.jsp">
        <table align="center">
          <tr bgcolor="#FFFF99"> 
            <td width="38%" align="right">版主大名:</td>
            <td width="62%"> 
              <input type="text" name="managername">
            </td>
          </tr>
          <tr bgcolor="#FFFF99"> 
            <td width="38%" align="right">版主密码:</td>
            <td width="62%"> 
              <input type="password" name="managerpassword">
            </td>
          </tr>
          <tr bgcolor="#FFFF99"> 
            <td width="38%" align="right">版面选择</td>
            <td width="62%"> 
              <select name="boardid" size="1">      
			      <option value="1">生活茶馆</option>
					<option value="2">爱成网事</option>
					<option value="3">我为e狂</option>
					<option value="4">光与影</option>
					<option value="5">云游四海</option>
					<option value="6">飘飘娱仙</option>
					<option value="7">城市故事</option>
					<option value="8">健身美体</option>
					<option value="9">想有个家</option>
				  </select>
			  </td>
          </tr>          
        </table>       
      </form>
</td></tr>
  <tr bgcolor="#FF9900" valign="middle" align="center">
    <td height="20"><img src="images/login_down.gif" width="266" height="20"></td>
  </tr>
  <tr bgcolor="#FF9900" valign="middle" align="center"> 
    <td height="50"><img src="images/button_1.gif" width="52" height="21" onclick="checkForm();" style="cursor:hand">  <img src="images/button_2.gif" width="52" height="21" onclick="resetForm();" style="cursor:hand"></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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