book_detail.jsp
上传用户:ycdfsj258
上传日期:2022-08-04
资源大小:1094k
文件大小:5k
源码类别:

图形图象

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  2. <%@ page import="com.dao.BookDAO" %>
  3. <%@ page import="com.dao.BookTypeDAO" %>
  4. <%@ page import="com.actionForm.BookForm" %>
  5. <%@ page import="java.util.*"%>
  6. <html>
  7. <%
  8. BookForm bookForm=(BookForm)request.getAttribute("bookDetail");
  9. %>
  10. <head>
  11. <title>图书馆管理系统</title>
  12. <link href="CSS/style.css" rel="stylesheet">
  13. </head>
  14. <body onLoad="clockon(bgclock)">
  15. <table width="778" border="0" align="center" cellpadding="0" cellspacing="0" class="tableBorder">
  16.   <tr>
  17.     <td height="183">
  18. <%@include file="navigation.jsp"%>
  19. </td>
  20. </tr>
  21. <td>
  22. <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  23.   <tr>
  24.     <td valign="top" bgcolor="#FFFFFF"><table width="99%" height="510"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="tableBorder_gray">
  25.   <tr>
  26.     <td height="510" valign="top" style="padding:5px;"><table width="98%" height="487"  border="0" cellpadding="0" cellspacing="0">
  27.       <tr>
  28.         <td height="22" valign="top" class="word_orange">当前位置:图书管理 &gt; 图书档案管理 &gt; 图书详细信息 &gt;&gt;&gt;</td>
  29.       </tr>
  30.       <tr>
  31.         <td align="center" valign="top"><table width="100%" height="493"  border="0" cellpadding="0" cellspacing="0">
  32.   <tr>
  33.     <td align="center" valign="top">
  34. <%  
  35. int ID=bookForm.getId().intValue();
  36. String bookname=chStr.toChinese(bookForm.getBookName());
  37. String barcode=bookForm.getBarcode();
  38. if(barcode==null) barcode="";
  39. String typename=chStr.toChinese(bookForm.getTypeName());
  40. String author=chStr.toChinese(bookForm.getAuthor());
  41. String translator=chStr.toChinese(bookForm.getTranslator());
  42. String publishing=chStr.toChinese(bookForm.getPublishing());
  43. Float price=bookForm.getPrice();
  44. int pages=bookForm.getPage();
  45. String bookcase=chStr.toChinese(bookForm.getBookcaseName());
  46. int storage=bookForm.getStorage();
  47. String inTime=bookForm.getInTime();
  48. String operator=chStr.toChinese(bookForm.getOperator());
  49.   %>
  50. <table width="600" height="432"  border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  51.       <tr>
  52.         <td width="173" height="30" align="center">条&nbsp;形&nbsp;码:</td>
  53.         <td height="35"><input name="name" type="text" value="<%=barcode%>" size="40"></td>
  54.       </tr>
  55.       <tr>
  56.         <td width="173" height="30" align="center">图书名称:</td>
  57.         <td width="427" height="39">
  58.           <input name="name" type="text" value="<%=bookname%>" size="60"> </td>
  59.       </tr>
  60.       <tr>
  61.         <td height="30" align="center">图书类型:</td>
  62.         <td><input name="vocation" type="text" id="vocation" value="<%=typename%>"></td>
  63.       </tr>
  64.       <tr>
  65.         <td height="30" align="center">作&nbsp;&nbsp;&nbsp;&nbsp;者:</td>
  66.         <td><input name="vocation" type="text" id="vocation" value="<%=author%>" size="50"></td>
  67.       </tr>
  68.       <tr>
  69.         <td height="30" align="center">译&nbsp;&nbsp;&nbsp;&nbsp;者:</td>
  70.         <td><input name="birthday" type="text" id="birthday" value="<%=translator%>" size="50"></td>
  71.       </tr>
  72.       <tr>
  73.         <td height="30" align="center">出&nbsp;版&nbsp;社:</td>
  74.         <td><input name="paperType" type="text" value="<%=publishing%>" size="40"></td>
  75.       </tr>
  76.       <tr>
  77.         <td height="30" align="center">价&nbsp;&nbsp;&nbsp;&nbsp;格:</td>
  78.         <td><input name="paperNO" type="text" id="paperNO" value="<%=price%>">
  79.           (元)</td>
  80.       </tr>
  81.       <tr>
  82.         <td height="30" align="center">页&nbsp;&nbsp;&nbsp;&nbsp;码:</td>
  83.         <td><input name="paperNO2" type="text" id="paperNO2" value="<%=pages%>"></td>
  84.       </tr>
  85.       <tr>
  86.         <td height="30" align="center">书&nbsp;&nbsp;&nbsp;&nbsp;架:</td>
  87.         <td><input name="tel" type="text" id="tel" value="<%=bookcase%>"></td>
  88.       </tr>
  89.       <tr>
  90.         <td height="30" align="center">库存总量:</td>
  91.         <td><input name="email" type="text" id="email" value="<%=storage%>">          </td>
  92.       </tr>
  93.       <tr>
  94.         <td height="30" align="center">入库时间:</td>
  95.         <td><input name="email" type="text" id="email" value="<%=inTime%>">        </td>
  96.       </tr>
  97.       <tr>
  98.         <td height="30" align="center">操&nbsp;作&nbsp;员:</td>
  99.         <td><input name="operator" type="text" id="operator" value="<%=operator%>">          </td>
  100.       </tr>
  101.       <tr>
  102.         <td align="center">&nbsp;</td>
  103.         <td>
  104. &nbsp;
  105. <input name="Submit2" type="button" class="btn_grey" value="返回" onClick="history.back()"></td>
  106.       </tr>
  107.     </table>
  108. </td>
  109.   </tr>
  110. </table></td>
  111.       </tr>
  112.     </table>
  113. </td>
  114.   </tr>
  115. </table><%@ include file="copyright.jsp"%></td>
  116.   </tr>
  117. </table>
  118. </td>
  119.  
  120. </table>
  121. </body>
  122. </html>