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

📄 book_query.jsp

📁 一个基本的图书馆管理系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"
	prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>

<script type="text/javascript">
<!--
	//图书查询
	function bookquery(){
		document.all.bookqueryform.action = "book_query.do";
		document.all.bookqueryform.submit();
	}
//-->
</script>

				<!-- 图书查询部分页面 -->
				<table border="0" width="180" cellPadding="0" cellSpacing="0"
					valign="top">
					<form action="book_query.do" method="post" name="bookqueryform">
					<tr align="center" valign="middle">
						<td width="180" height="23" colspan="2"
							background="images/find.jpg" class="font35">图书查询</td>
					</tr>
					<tr>
						<td width="177" height="64" valign="top" bgcolor="#fff8d9">
						<table border="0" width="177" cellPadding="0" cellSpacing="0"
							valign="top">
							<tr>
								<td width="177" height="8" colspan="4"></td>
							</tr>
							<tr>
								<td width="5" height="22" align="right"></td>
								<td width="47" height="22" align="right"><font
									class="font12">关键字:</font></td>
								<td width="120" height="22" align="right"><input value=""
									style="width: 120; height: 22" name="findKey" class="inputbox"
									<logic:present name="findKey">value="<bean:write name="findKey"/>"</logic:present>
									></td>
								<td width="5" height="22"></td>
							</tr>
							<tr>
								<td width="177" height="5" colspan="4"></td>
							</tr>
							<tr>
								<td width="5" height="22" align="right"></td>
								<td width="47" height="22" align="right"><font
									class="font12">对象:</font></td>
								<td width="120" height="22" align="right"><select
									id="findType" name="findType" style="height: 22; width: 120">
									<bean:define id="findtype" value="${findType}"></bean:define>
									<option value="0" 
									<logic:equal value="0" name="findtype">selected</logic:equal>
									>图书名称</option>
									<option value="1" 
									<logic:equal value="1" name="findtype">selected</logic:equal>
									>图书作者</option>
									<option value="2" 
									<logic:equal value="2" name="findtype">selected</logic:equal>
									>出版单位</option>
									<option value="3" 
									<logic:equal value="3" name="findtype">selected</logic:equal>
									>图书简介</option>
								</select></td>
								<td width="5" height="22"></td>
							</tr>
							<tr>
								<td width="177" height="5" colspan="4"></td>
							</tr>
							<tr>
								<td width="5" height="22"></td>
								<td width="47" height="22"></td>
								<td width="120" height="22" align="right"><input
									type="button" src="images/m_left_button_find.gif" id="imglogin"
									name="imglogin" value="查询" onclick="bookquery();"></td>
								<td width="5" height="22"></td>
							</tr>
							<tr>
								<td width="177" height="5" colspan="4"></td>
							</tr>
						</table>
						</td>
						<td width="3" valign="top" background="images/m_left_right.jpg"></td>
					</tr>
					<tr>
						<td width="180" height="4" valign="top" colspan="2"><img
							border="0" src="images/m_left_bottom.jpg"></td>
					</tr>
					</form>
				</table>

⌨️ 快捷键说明

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