📄 showselllist.jsp
字号:
<%@ page language="java" import="java.util.*,com.shop.vo.*"
contentType="text/html; charset=GB2312"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My JSP 'showSelllist.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 background="<%=request.getContextPath() %>/image/leftbg.jpg">
<form method="post" action="<%=request.getContextPath() %>/servlet/SellBookServlet?method=find" name="sellform">
<table width="30%" border="0" align="left">
<tbody>
<tr>
<td>
当前位置:
<br>
</td>
<td>
售书信息查询:
</td>
</tr>
</tbody>
</table>
<p>
</p>
<table width="70%" border="0" align="left">
<tbody>
<tr>
<td>
ISBN号:
</td>
<td>
<input type="text" name="isbn" >
</td>
<td>
书名:
</td>
<td>
<input type="text" name="bookname" >
<br>
</td>
</tr>
<tr>
<td>登记日期:
</td>
<td><input type="text" name="adddate" >
</td>
<td>
购买用户:<br>
</td>
<td><input type="text" name="buyuser" >
</td>
</tr>
<tr>
<td>
</td>
<td colspan="3">
<input type="submit" value="查询" name="button1">
</td>
</tr>
</tbody>
</table>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</form>
<hr><table width="15%" border="0" align="left">
<tbody>
<tr>
<td>
查询结果:
</td>
</tr>
</tbody>
</table>
<br>
<br>
<form method="post" action="<%=request.getContextPath() %>/servlet/SellBookServlet?method=updatePost" name="postform">
<table width="778" border="1" align="left" height="56">
<tbody>
<tr>
<td>
</td>
<td>
图书名称
</td>
<td>
作者
</td>
<td>
出版社
</td>
<td>
定价
</td>
<td>
出版日期
</td>
<td>
进货数量
</td>
<td>
剩余数量
</td>
</tr>
<% List<BookInfoVo> booklist=(List<BookInfoVo>)request.getAttribute("booklist");
for(BookInfoVo book:booklist){
%>
<tr>
<td>
<input type="checkbox" value="<%=book.getIsbn() %>" name="posted" >
</td>
<td>
<a href="<%=request.getContextPath() %>/servlet/SellBookServlet?method=show&iisbn=<%=book.getIsbn() %>">
<%=book.getBookNum() %>
</a>
<input type=hidden name="iisbn" value="<%=book.getIsbn() %>">
</td>
<td>
<%=book.getAuthor() %>
</td>
<td>
<%=book.getPrintAddr() %>
</td>
<td>
<%=book.getPrice() %>
</td>
<td>
<%=book.getPrintDate() %>
</td>
<td>
<%=book.getPrintNum() %>
</td>
<td>
<%=book.getRemainNum() %>
</td>
</tr>
<%
}
%>
</tbody><br>
</table><br>
<br><br><br><br><br><br><br>
<input type="submit" value="确认邮寄" name="button1" >
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -