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

📄 firstpage.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"%>
<jsp:useBean id="bookDao" scope="request" class="com.dao.BookDao"/>

<%
List list=bookDao.selectBook(0);
%>
<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 width="750" 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="175" height="25" bgcolor="#83B9FF">书名</td>

          <td width="85">作者</td>
          <td width="85">定价</td>
           <td width="85">库存数量</td>
          <td width="161">出版社</td>

        </tr>
		<%for(int i=0;i<list.size();i++){
                  BookForm form=(BookForm)list.get(i);
                  %>
      <tr  align="center" onmousemove="color=this.style.backgroundColor;this.style.backgroundColor='rgb(214,229,249)'" style="width: 529px" onmouseout="this.style.backgroundColor='white'">
          <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><%=form.getSinglePirce()%>元</td>
             <td><%=form.getBookSum()%>本</td>
          <td><%=form.getPublish()%></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 + -