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

📄 selectallbookaction.jsp

📁 图书管理系统 jsp+tomcat+sql2000
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="java.util.List"%>
<%@ page import="com.actionForm.BookForm"%>
<%@ page import="com.actionForm.BookSortForm"%>

<jsp:useBean id="bookSortDao" scope="request" class="com.dao.BookSortDao"/>
<%
List list=(List)request.getAttribute("list");
String changeNumber=(String)request.getAttribute("number");
int number=Integer.parseInt(changeNumber);
String changeMaxPage=(String)request.getAttribute("maxPage");
int maxPage=Integer.parseInt(changeMaxPage);
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>翼飞图书管理系统——库存查询</title>


</head>

<body>
<div align="center">
<jsp:include page="../topOne.jsp" flush="true"/>
<jsp:include page="../topTwo.jsp" flush="true"/>

<table width="799" border="0" cellpadding="0" cellspacing="0" background="Images/upPlace.jpg">
  <tr>
    <td height="21" class="word_black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;您当前的位置——图书查询</td>
  </tr>
</table>
<table width="799" height="28" border="0" cellpadding="0" cellspacing="0" background="Images/operationOne.jpg">
  <tr align="center">
    <td><span class="style2">———————库存查询———————</span></td>
  </tr>
</table>
<table width="799" height="457" border="0" cellpadding="0" cellspacing="0" class="tableBorder_B_dashed">
  <tr>
    <td valign="top" ><div align="center">
      <br>
	  <table border="1" cellpadding="0" cellspacing="0"  bordercolor="#FFFFFF" bordercolordark="#819BBC" bordercolorlight="#FFFFFF">
        <tr align="center" bgcolor="#83B9FF"  class="word_white" >
          <td width="49">编号</td>
          <td width="130" height="25" bgcolor="#83B9FF">书名</td>
          <td width="85">作者</td>
		  <td width="85">类别</td>
		  <td width="85">摆放书架</td>
          <td width="85">定价</td>
           <td width="85">库存数量</td>
          <td width="130">出版社</td>
    
        </tr>
		<%for(int i=0;i<list.size();i++){
                  BookForm form=(BookForm)list.get(i);
           BookSortForm bookSortForm=bookSortDao.selectBookSort(form.getSortNumber());
                  
                  %>
        <tr align="center" >
          <td height="25"><%=form.getBookNumber()%></td>
          <td><div align="left">&nbsp;<a href="bookAction.do?method=selectBookOneAction&bookNumber=<%=form.getBookNumber()%>">《<%=form.getBookName()%>》</a></div></td>
          <td><%=form.getAuthor()%></td>
		  <td><%=bookSortForm.getSortName()%></td>
		   <td><%=bookSortForm.getPlaceName()%></td>
          <td><%=form.getSinglePirce()%>元</td>
          <td><%=form.getBookSum()%>本</td>
          <td><%=form.getPublish()%></td>

        </tr>
		<%}%>
      </table>
      <table width="718" height="22" border="0" cellpadding="0" cellspacing="0">
        <tr align="left">
          <td width="426"><%=number+1%>/<%=maxPage%>页</td>
          <td width="292" align="right">
		     <%if(number>0){%>
            <a href="bookAction.do?method=selectAllBookAction&number=<%=number-1%>">上一页</a>&nbsp;&nbsp;
            <%}%>
			<%if(number<maxPage-1){%>
            <a href="bookAction.do?method=selectAllBookAction&number=<%=number+1%>">下一页</a></td>
          <%}%>



        </tr>
      </table>
    </div></td>
  </tr>
</table><jsp:include page="../bottom.jsp" flush="true"/>
</div>
</body>
</html>

⌨️ 快捷键说明

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