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

📄 index.jsp

📁 《JSP通用模块及典型系统开发实例导航》源代码
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=GB2312"
	pageEncoding="GB2312"%>
<%@ include file="../include/header.jsp"%>

<TABLE border=0 cellPadding=0 cellSpacing=0 width=760 align="center">
	<TBODY>
		<tr>
			<td align="left" height=25>当前位置:<a href="../index.jsp">首页</a> -&gt;
			查询商品</td>
			<%@ include file="../include/date.jsp"%>
		</tr>
		<TR bgColor=#3399ff>
			<TD height=1 colspan="2"><IMG height=1 src="images/spacer.gif"
				width=16></TD>
		</TR>
		<tr>
			<td height=10 colspan="2"><IMG height=1 src="images/spacer.gif"
				width=16></td>
		</tr>
	</TBODY>
</TABLE>

<table align="center" border="0" width="760" cellspacing="0"
	cellpadding="0" height="355">
	<tr>
		<td width="150" height="355" valign="top"><%@ include
			file="../include/top_banner.jsp"%></td>
		<td width="10" height="100%"></td>
		<td width="1" height="100%" bgcolor="#3399ff"></td>
		<td width="10" height="100%"></td>
		<td width="589" height="331" valign="top" background="images/bg1.gif">

		<table border="0" width="750%" cellspacing="0" cellpadding="0">
			<tr>
				<td colspan="3" width="" height="20" bgcolor="#3399ff">&nbsp;<font
					color="#ffffff">站内搜索 -> 关键字:</font><b> <font color="Red"> <%String keyWord;
			keyWord = request.getParameter("keyword");
			if (keyWord != null) {
				out.println(keyWord);
			}

		%> </font></b></td>
			</tr>
			<tr>
				<td colspan="121" width="" height="" bgcolor="">
				<form name="search_form" action="/ECommerce/SearchBookServlet" method="post">查询商品: <br>
				请输入关键字:<input type="text" name="keyword" size="16" value="请输入关键字"
					onmouseover="this.focus()" onfocus="this.select()"><br>

				请选择查询范围:<select name="way">
					<option value="1">书名</option>
					<option value="2">作者</option>
					<option value="3">出版社</option>
				</select> <input type="button" value="查询!" onclick="search_sub()"><br>
				<script language="javascript">
                        function search_sub()
                        {
                                if(document.search_form.keyword.value=="")
                                {
                                        window.alert("请输入关键字!");
                                        document.search_form.keyword.focus();
                                        return;
                                }
								 document.search_form.submit();
                              
                        }
                        </script></form>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>
<%@ include file="../include/footer.jsp"%>

⌨️ 快捷键说明

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