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

📄 searchhouse.jsp

📁 一个完整的学生管理 软件,界面优美,代码有注释,很容易看懂
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java"  %>
<%
if(session.getAttribute("admin")==null)
     out.print("<script>alert('请先登录!');window.location.href='login.htm'</script>");
%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>查询房间</title>
<link href="css/mycss.css" rel="stylesheet" type="text/css">
</head>

<body>
<%@ include file="head.htm" %>
<%
session.setAttribute("strSQL",null);
%>
<p>&nbsp;</p>
<p>&nbsp;</p>
<form name="form1" method="post" action="/MyDesign/SearchHouse">
  <table width="27%" border="1" align="center" bordercolor="#660000" bgcolor="#CCCCCC">
    <tr>
      <td colspan="2" height="56"><div align="center"><font color="#660000"><strong><font size="5">查询房间</font></strong> 
          </font></div></td>
    </tr>
    <tr> 
      <td colspan="2" height="56"> <div align="center"><font color="#660000" size="3">请输入查询条件</font></div></td>
    </tr>
    <tr> 
      <td width="35%" height="30"> <div align="center"><font color="#660000" size="3">楼号</font></div></td>
      <td width="65%"><font color="#660000" size="3"> 
        <input name="donghao" type="text" id="donghao2" size="20" maxlength="2">
        </font></td>
    </tr>
    <tr> 
      <td height="34"> <div align="center"><font color="#660000" size="3">房号</font></div></td>
      <td><font color="#660000" size="3"> 
        <input name="houseid" type="text" id="houseid" size="20" maxlength="4">
        </font></td>
    </tr>
    <tr> 
      <td height="35"><div align="center"><font color="#660000" size="3">入住性别</font></div></td>
      <td><p><font color="#660000" size="3"> 
          <select name="sex" size="1" id="sex">
            <option>请选择</option>
            <option>男</option>
            <option>女</option>
          </select>
          </font></p></td>
    </tr>
    <tr> 
      <td height="35"><div align="center"><font color="#660000" size="3">可住人数</font></div></td>
      <td><font color="#660000" size="3"> 
        <input name="kezhu" type="text" id="kezhu" size="20" maxlength="1">
        </font></td>
    </tr>
    <tr> 
      <td height="35"><div align="center"><font color="#660000" size="3">空缺人数</font></div></td>
      <td><font color="#660000" size="3"> 
        <input name="kongque" type="text" id="kongque" size="20" maxlength="1">
        </font></td>
    </tr>
    <tr> 
      <td height="35"><div align="center"><font color="#660000" size="3">住宿费用</font></div></td>
      <td><font color="#660000" size="3"> 
        <select name="expense" size="1" id="expense">
          <option>请选择</option>
          <option>1200</option>
          <option>600</option>
        </select>
        </font></td>
    </tr>
    <tr> 
      <td  height="47" colspan="2"> <div align="center"> <font color="#660000" size="3"> 
          <input type="submit" name="Submit" value="查询">
          </font></div></td>
    </tr>
  </table>
</form>
</body>
</html>

⌨️ 快捷键说明

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