📄 allupbookinfo.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style>
<!--
.wr{font-size: 12pt; line-height: 22px}
.wr1 { FONT-SIZE: 12px; LINE-HEIGHT: 200%}
.wr2 { FONT-SIZE: 14px; LINE-HEIGHT: 200%}
.wr3 { FONT-SIZE: 12px}
.wr4 { FONT-SIZE: 12px; LINE-HEIGHT: 150%}
// -->
</style>
<base href="<%=basePath%>">
<title>My JSP 'allUpBookInfo.jsp' starting page</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="styles.css">
-->
</head>
<body bgcolor="#FFFFDB" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<br/><br/><br/>
<center>推荐图书去主页</center>
<table width="460" border="0" cellspacing="1" cellpadding="2" align="center" bgcolor="#000000">
<tr bgcolor="#FFFFDB" align="center">
<td class="wr4" width="42">序号</td>
<td class="wr4" width="94">书名</td>
<td class="wr4" width="72">作者</td>
<td class="wr4" width="133">出版社</td>
<td class="wr4" width="133">价格</td>
<td class="wr4" width="43" align="center">推荐</td>
</tr>
<c:forEach items="${requestScope.list_up}" var="book">
<tr bgcolor="#FFFFDB">
<td class="wr4" width="42">${book.bookId }</td>
<td class="wr4" width="94"><a href="#" target="_blank">${book.bookName }</a></td>
<td class="wr4" width="133">${book.bookAuthor }</td>
<td class="wr4" width="72">${book.bookPublish }</td>
<td class="wr4" width="72">${book.bookPrice }</td>
<td class="wr4" width="43" align="center"><a href="${pageContext.request.contextPath }/commend.do?bookId=${book.bookId }" >
推荐</a></td>
</tr>
</c:forEach>
<tr bgcolor="#FFFFDB">
<td class="wr4" colspan="7" align="right">
01 02 03 04 05 06 07>>>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -