forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbook_detail.jsp
More file actions
111 lines (109 loc) · 4.26 KB
/
book_detail.jsp
File metadata and controls
111 lines (109 loc) · 4.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<%@ 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)">
<%@include file="banner.jsp"%>
<%@include file="navigation.jsp"%>
<table width="778" border="0" cellspacing="0" cellpadding="0" align="center">
<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=bookForm.getBookName();
String barcode=bookForm.getBarcode();
if(barcode==null) barcode="";
String typename=bookForm.getTypeName();
String author=bookForm.getAuthor();
String translator=bookForm.getTranslator();
String publishing=bookForm.getPublishing();
Float price=bookForm.getPrice();
int pages=bookForm.getPage();
String bookcase=bookForm.getBookcaseName();
String inTime=bookForm.getInTime();
String operator=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="<%=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>
</body>
</html>