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

📄 queryroom.jsp

📁 struts_宾馆管理系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"
	prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"
	prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic"
	prefix="logic"%>
<html:html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
	<meta http-equiv="Content-Language" content="zh-CN" />
	<meta name="Keywords" content="关键词1,关键词2,关键词3,关键词4,……" />
	<meta name="Description" content="你网页的简述" />
	<meta name="Robots" content="All" />
	<meta name="Generator" content="Dreamweaver" />
	<meta name="Author" content="第五只鼠,email" />
	<meta name="Copyright" content="本页版权归第五只鼠所有。All Rights Reserved" />

	<title>无标题文档</title>
	<link href="../../../css/css.css" rel="stylesheet" type="text/css" />
</head>

<body>
	<h3 id="subTitle">
		客房查询
	</h3>
	<br>



	<table width="90%" border="0" align="center" cellpadding="0"
		cellspacing="0" id="tableSearch">
		<tr>
			<html:form method="post" action="/queryroombynum">
				<td width="10%" align="right">
					客房编码
				</td>
				<td width="20%">
					<input name="roomnum" type="text" class="input1" />
				</td>
				<td width="10%">
					<html:submit value="查询" />
				</td>
			</html:form>
			<html:form method="post" action="/queryroombystation">
				<td width="10%" align="right">
					客房状态
				</td>
				<td width="20%">
					<select name="station" class="select2">
						<option selected="selected">
							入住
						</option>
						<option>
							预定
						</option>
						<option>
							无人
						</option>
					</select>
				</td>
				<td width="10%">
					<html:submit value="查询" />
				</td>
			</html:form>
			<html:form action="/queryallroom" method="post">
				<td width="10%" align="left">
					<html:submit>查询所有
				</html:submit>
				</td>
			</html:form>
			
		</tr>
	</table>

	<table width="90%" border="0" align="center" cellpadding="0"
		cellspacing="0" id="table">
		<tr>

			<th width="5%" nowrap="nowrap" class="th">
				客户名称
			</th>
			<th width="10%" nowrap="nowrap">
				客房状态
			</th>
			<th width="10%" nowrap="nowrap">
				客房编号
			</th>
			<th width="15%" nowrap="nowrap">
				联系电话
			</th>
			<th width="15%" nowrap="nowrap">
				入住时间
			</th>

			<th width="5%" nowrap="nowrap">
				操作1
			</th>
			<th width="5%" nowrap="nowrap">
				操作2
			</th>
		</tr>

		<logic:present name="result" scope="request">
			<logic:iterate id="show" name="result" scope="request">

				<tr>
					<html:form method="post" action="/queryroomforedit">
						<td align="center" class="title2_style2">
							<bean:write name="show" property="khname" />

						</td>
						<td align="center">
							<bean:write name="show" property="station" />
						</td>
						<td align="center">
							<bean:write name="show" property="roomnum" />
							<input type="hidden" name="roomnum"
								value="<bean:write name='show' property='roomnum'/>">
						</td>
						<td>
							<bean:write name="show" property="telnum" />
						</td>
						<td align="center">
							<bean:write name="show" property="ruzhutime" />
						</td>

						<td align="center">
							<html:submit value="修改" />

						</td>
					</html:form>
					<html:form action="/deleteroom">
						<td align="center" class="title2_style2">
							<input type="hidden" name="roomnum"
								value="<bean:write name="show" property="roomnum"/>" />
							<html:submit value="删除" styleClass="bevel"></html:submit>
						</td>
					</html:form>


				</tr>
			</logic:iterate>
		</logic:present>
	</table>

</body>
</html:html>

⌨️ 快捷键说明

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