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

📄 searchbookresult.jsp

📁 这是一个网上书店
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="IncludeHeader.jsp"%>
<html>
  <head>
    <title>网上书店</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <link rel="stylesheet" type="text/css" href="<html:rewrite page="/style.css"/>">

  </head>
  <body>
    <div class="content">
    <%@ include file="IncludeTop.jsp"%>
   <div class="searchResult">
<table border="0" width="100%">
	<tr class="tr_head">
		<td>书名</td>
		<td>作者</td>
		<td>出版社</td>
		<td>出版日期</td>
		<td>描述</td>
	</tr>
	
	<logic:present name="bookList">
		<logic:iterate id="book" collection="${ bookList.pageList }">
			<tr>
				<td><bean:write name="book" property="bookName"/></td>
				<td><bean:write name="book" property="author"/></td>
				<td><bean:write name="book" property="publishCompany"/></td>
				<td><bean:write name="book" property="publishDate"/></td>
				<td><bean:write name="book" property="description"/></td>
			</tr>
		</logic:iterate>
		<tr>
			<td colspan="5">
			<logic:notMatch name="bookList" property="firstPage" value="true">
				<html:link href="searchBooks.do?page=previous">[上一页]</html:link>
			</logic:notMatch>
			<logic:notMatch name="bookList" property="lastPage" value="true">
			<html:link href="searchBooks.do?page=next">[下一页]</html:link>
			</logic:notMatch>
			总共${ bookList.pageCount }页,当前第${ bookList.page+1 }页,每页显示${ bookList.pageSize }条数据
			</td>
		</tr>
	</logic:present>
	
</table>
</div>
      
       <%@ include file="IncludeBottom.jsp"%>
       </div>
  </body>
</html>

⌨️ 快捷键说明

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