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

📄 queryreserve.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>
	<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>


		<table width="90%" border="0" align="center" cellpadding="0"
			cellspacing="0" id="tableSearch">
			<tr>
				<html:form method="post" action="/queryresevebykhname">
					<td width="15%" align="right">
						客户姓名
					</td>
					<td width="15%">
						<input name="khname" type="text" class="input1" />

					</td>
					<td width="15%">
						<html:submit>查询</html:submit>
					</td>
				</html:form>
				<html:form method="post" action="/queryreservebyidnum">
					<td width="17%" align="right">
						客户身份证号
					</td>
					<td width="13%">
						<input name="idnum" type="text" class="input1" />

					</td>
					<td width="15%" colspan="2" align="center">
						<html:submit>查询</html:submit>
					</td>
				</html:form>
			</tr>
			<tr>
				<html:form method="post" action="/queryreservebyroomtype">
					<td width="15%" align="right">
						客房类型
						<br>
					</td>
					<td width="15%">
						<select name="roomtype" class="input1">
							<option>
								经济型客房
							</option>
							<option>
								高档型客房
							</option>
							<option>
								总统套间
							</option>
							<option>
								双人经济型
							</option>
							<option>
								单人经济型
							</option>

						</select>

						<br>
					</td>
					<td width="15%">
						<html:submit>查询</html:submit>
						<br>
					</td>
				</html:form>
				<html:form method="post" action="/queryreservebyroomnum">
					<td width="17%" align="right">
						客房编号
						<br>
					</td>
					<td width="13%">
						<input name="roomnum" type="text" class="input1" />

						<br>
					</td>
					<td width="10%" align="center">
						<html:submit>查询</html:submit>
						<br>
					</td>
				</html:form>
				<html:form method="post" action="/queryallreserve">
					<td width="5%">
						<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="15%" nowrap="nowrap">
					客房类型
				</th>
				<th width="10%" nowrap="nowrap">
					客房编号
				</th>
				<th width="10%" nowrap="nowrap">
					客户姓名
				</th>
				<th width="10%" nowrap="nowrap">
					客户性别
				</th>
				<th width="15%" nowrap="nowrap">
					身份证号
				</th>
				<th width="10%" nowrap="nowrap">
					客户传真
				</th>
				<th width="15%" nowrap="nowrap">
					联系电话
				</th>
				<th width="10%" nowrap="nowrap">
					入住时间
				</th>
				<th width="10%" nowrap="nowrap" colspan="2">
					操作
				</th>

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

					<tr>
						<html:form method="post" action="/queryreserveforedit">
							<td align="center">
								<bean:write name="show" property="roomtype" />
							</td>
							<td align="center">
								<bean:write name="show" property="roomnum" />
							</td>
							<td align="center">
								<bean:write name="show" property="khname" />
							</td>
							<td>
								<bean:write name="show" property="khsex" />
							</td>
							<td align="center">
								<bean:write name="show" property="idnum" />
								<input type="hidden" name="idnum"
									value="<bean:write name='show' property='idnum'/>">
							</td>
							<td align="center">
								<bean:write name="show" property="fax" />
							</td>
							<td>
								<bean:write name="show" property="telnum" />
							</td>
							<td align="center">
								<bean:write name="show" property="ruzhutime" />
							</td>

							<td width="10%">
								<html:submit>修改
						</html:submit>
							</td>
						</html:form>
						<html:form action="/deletereserve" method = "post">
							<td width="10%">
								<input type="hidden" name="idnum"
									value="<bean:write name='show' property='idnum'/>">
								<html:submit>删除
						</html:submit>
							</td>
						</html:form>
					</tr>
				</logic:iterate>
			</logic:present>

		</table>


	</body>
</html>

⌨️ 快捷键说明

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