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

📄 newcollege.jsp

📁 “JSP数据库项目案例导航”一书从第一章到第十一章各章实例的源程序文件以及数据库文件。 注意: 1. 本书中的案例提供的数据库环境不同
💻 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">
<jsp:useBean id='db' scope='request' class='Base.DataBean.DefaultDataBean' />
<html>
<head>
<link rel=stylesheet href="../../index.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>学院配置</title>
</head>

<body>
<form name="form1" method="post" action="addcollege.cgi">
  <table width="100%" height="20"  border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td></td>
    </tr>
  </table>
  <table width="100%"  border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="40">&nbsp;</td>
      <td width="910"><table width="100%" height="20"  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="20" class="title_s"><img src="../pics/login.gif" width=50>&nbsp;欢迎您>><%=(String)session.getAttribute("NAME")%> </td>
          </tr>
          <tr>
            <td height="5" bgcolor="#C8F8BA"></td>
          </tr>
          <tr>
            <td height="1" bgcolor="#2E990F"></td>
          </tr>
      </table></td>
      <td width="50">&nbsp;</td>
    </tr>
  </table>
  <table width="100%"  border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="31">&nbsp;</td>
      <td width="692"><table width="110%"  border="1" align="left" cellpadding="4" cellspacing="0" bordercolor="FFFFFF" bgcolor="E8FCE2" class="main_w">
        <tr bgcolor="#FFFFFF" class="title_s">
          <td height="20" colspan="2"><div align="center">添加学院资料</div>
              <div align="center"></div></td>
        </tr>
        <tr>
          <td height="20"><div align="center"></div>            <div align="center">学院名称:</div></td>
          <td width="44%" height="20">
            <div align="left">
              <input name="name" type="text" id="name2">
          </div></td>
        </tr>
        <tr>
          <td height="20"><div align="center"></div>            <div align="center">学院代号:</div></td>
          <td height="20"><div align="center"></div>
              <div align="left">
                <input name="mark" type="text" id="mark2">
            </div></td>
        </tr>
        <tr>
          <td height="20"><div align="center">联系电话:</div></td>
          <td height="20"><input name="tel" type="text" id="tel2"></td>
        </tr>
        <tr>
          <td height="20"><div align="center">负 责 人:                <br>
          </div></td>
          <td height="20"><input name="txt_rymc" type=text id="txt_rymc" size=20 readonly>
            <input name="button" type="button" style="background-color:#2969b5;color:#ffffff;border-style:solid;border-color:#2969b5;cursor:hand" onclick="window.open('../../SelectMan/stepMem.jsp?count=1&txt_rybh=txt_rybh&txt_rymc=txt_rymc','mem','height=400,width=600,toolbar=no,menubar=no,location=no,resizable=no,directories=no,status=yes,scrollbars=yes,dependent=no,left=200,top=200');" value="选人">
            <input class="text" type="hidden" name="txt_rybh" id="txt_rybh" size="20" readonly value="" ></td>
        </tr>
        <tr>
          <td height="20" colspan="2"><div align="center">
              <input type="submit" name="Submit" value="修改">
              <input type="reset" name="Submit2" value="重置">
          </div></td>
        </tr>
      </table></td>

    </tr>
  </table>
</form>
</body>
</html>

⌨️ 快捷键说明

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