%@ page contentType="text/html; charset=gb2312" language="java"%>
<%@ page import="com.dao.BorrowDAO"%>
<%@ page import="com.actionForm.BorrowForm"%>
<%@ page import="java.util.*"%>
<%
%>
图书馆管理系统
<%@include file="banner.jsp"%>
<%@include file="navigation.jsp"%>
<%
BorrowDAO borrowDAO=new BorrowDAO();
Collection coll_book=(Collection)borrowDAO.bookBorrowSort();
%>
| 当前位置:首页 >>> |
| |
| |
| 排名 |
图书条形码 |
图书名称 |
图书类型 |
书架 |
出版社 |
作者 |
定价(元) |
借阅次数 |
<%if(coll_book!=null && !coll_book.isEmpty()){
Iterator it_book=coll_book.iterator();
int i=1;
int degree=0;
String bookname="";
String typename="";
String barcode_book="";
String bookcase="";
String pub="";
String author="";
String translator="";
Float price=new Float(0);
while(it_book.hasNext() && i<6){
BorrowForm borrowForm=(BorrowForm)it_book.next();
bookname=borrowForm.getBookName();
barcode_book=borrowForm.getBookBarcode();
typename=borrowForm.getBookType();
degree=borrowForm.getDegree();
bookcase=borrowForm.getBookcaseName();
pub=borrowForm.getPubName();
author=borrowForm.getAuthor();
price=borrowForm.getPrice();
%>
| <%=i%> |
<%=barcode_book%> |
<%=bookname%> |
<%=typename%> |
<%=bookcase%> |
<%=pub%> |
<%=author%> |
<%=price%> |
<%=degree%> |
<%
i++;
}
}%>
|
|
|
|
|
|
<%@ include file="copyright.jsp"%>