book_detail.jsp
资源名称:Library.rar [点击查看]
上传用户:ycdfsj258
上传日期:2022-08-04
资源大小:1094k
文件大小:5k
源码类别:
图形图象
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
- <%@ page import="com.dao.BookDAO" %>
- <%@ page import="com.dao.BookTypeDAO" %>
- <%@ page import="com.actionForm.BookForm" %>
- <%@ page import="java.util.*"%>
- <html>
- <%
- BookForm bookForm=(BookForm)request.getAttribute("bookDetail");
- %>
- <head>
- <title>图书馆管理系统</title>
- <link href="CSS/style.css" rel="stylesheet">
- </head>
- <body onLoad="clockon(bgclock)">
- <table width="778" border="0" align="center" cellpadding="0" cellspacing="0" class="tableBorder">
- <tr>
- <td height="183">
- <%@include file="navigation.jsp"%>
- </td>
- </tr>
- <td>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" bgcolor="#FFFFFF"><table width="99%" height="510" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="tableBorder_gray">
- <tr>
- <td height="510" valign="top" style="padding:5px;"><table width="98%" height="487" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td height="22" valign="top" class="word_orange">当前位置:图书管理 > 图书档案管理 > 图书详细信息 >>></td>
- </tr>
- <tr>
- <td align="center" valign="top"><table width="100%" height="493" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td align="center" valign="top">
- <%
- int ID=bookForm.getId().intValue();
- String bookname=chStr.toChinese(bookForm.getBookName());
- String barcode=bookForm.getBarcode();
- if(barcode==null) barcode="";
- String typename=chStr.toChinese(bookForm.getTypeName());
- String author=chStr.toChinese(bookForm.getAuthor());
- String translator=chStr.toChinese(bookForm.getTranslator());
- String publishing=chStr.toChinese(bookForm.getPublishing());
- Float price=bookForm.getPrice();
- int pages=bookForm.getPage();
- String bookcase=chStr.toChinese(bookForm.getBookcaseName());
- int storage=bookForm.getStorage();
- String inTime=bookForm.getInTime();
- String operator=chStr.toChinese(bookForm.getOperator());
- %>
- <table width="600" height="432" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
- <tr>
- <td width="173" height="30" align="center">条 形 码:</td>
- <td height="35"><input name="name" type="text" value="<%=barcode%>" size="40"></td>
- </tr>
- <tr>
- <td width="173" height="30" align="center">图书名称:</td>
- <td width="427" height="39">
- <input name="name" type="text" value="<%=bookname%>" size="60"> </td>
- </tr>
- <tr>
- <td height="30" align="center">图书类型:</td>
- <td><input name="vocation" type="text" id="vocation" value="<%=typename%>"></td>
- </tr>
- <tr>
- <td height="30" align="center">作 者:</td>
- <td><input name="vocation" type="text" id="vocation" value="<%=author%>" size="50"></td>
- </tr>
- <tr>
- <td height="30" align="center">译 者:</td>
- <td><input name="birthday" type="text" id="birthday" value="<%=translator%>" size="50"></td>
- </tr>
- <tr>
- <td height="30" align="center">出 版 社:</td>
- <td><input name="paperType" type="text" value="<%=publishing%>" size="40"></td>
- </tr>
- <tr>
- <td height="30" align="center">价 格:</td>
- <td><input name="paperNO" type="text" id="paperNO" value="<%=price%>">
- (元)</td>
- </tr>
- <tr>
- <td height="30" align="center">页 码:</td>
- <td><input name="paperNO2" type="text" id="paperNO2" value="<%=pages%>"></td>
- </tr>
- <tr>
- <td height="30" align="center">书 架:</td>
- <td><input name="tel" type="text" id="tel" value="<%=bookcase%>"></td>
- </tr>
- <tr>
- <td height="30" align="center">库存总量:</td>
- <td><input name="email" type="text" id="email" value="<%=storage%>"> </td>
- </tr>
- <tr>
- <td height="30" align="center">入库时间:</td>
- <td><input name="email" type="text" id="email" value="<%=inTime%>"> </td>
- </tr>
- <tr>
- <td height="30" align="center">操 作 员:</td>
- <td><input name="operator" type="text" id="operator" value="<%=operator%>"> </td>
- </tr>
- <tr>
- <td align="center"> </td>
- <td>
-
- <input name="Submit2" type="button" class="btn_grey" value="返回" onClick="history.back()"></td>
- </tr>
- </table>
- </td>
- </tr>
- </table></td>
- </tr>
- </table>
- </td>
- </tr>
- </table><%@ include file="copyright.jsp"%></td>
- </tr>
- </table>
- </td>
- </table>
- </body>
- </html>