?? searchbookresult.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 + -