?? requestdelete.jsp
字號:
<%@ page language="java" %><%@page import="java.text.*"
contentType="text/html; charset=gb2312"
buffer="20kb"
%><html> <head> <title>圖書信息刪除 <%= request.getParameter ("id") %></title> </head>
<LINK href="../include/style.css" type=text/css rel=stylesheet> <body bgcolor="#ffffee"> <h4><center>圖書信息刪除 <%= request.getParameter ("id") %></center></h4><% bookInfo.IBookInfoDB binfoDB = new bookInfo.BookInfoDB();
bookInfo.BookInfo binfo = (bookInfo.BookInfo) binfoDB.getBookDetailInfo(Integer.parseInt(request.getParameter ("id")));
if (binfo != null)
{%> <table align="center" cellpadding="2" cellspacing="2" border="1" width="80%" bgcolor="#dddddd"> <tr>
<th>圖書名稱:</th>
<td><%=binfo.getBookTitle() %></td>
</tr>
<tr>
<th>ISBN:</th>
<td><%=binfo.getIsbn() %></td>
</tr>
<tr>
<th>作者譯者:</th>
<td><%=binfo.getAuthor() %></td>
</tr>
<tr>
<th>出版日期:</th>
<td><%=binfo.getPubdate() %></td>
</tr>
<tr>
<th>出版社:</th>
<td><%=binfo.getPress() %></td>
</tr>
<tr>
<th>數(shù)量:</th>
<td><%=binfo.getAmount() %></td>
</tr>
<tr>
<th>價格:</th>
<td><%=binfo.getPrice() %></td>
</tr>
<tr>
<th>內(nèi)容摘要:</th>
<td><textarea rows="5" name="content" readonly cols="22"><%=binfo.getContent() %></textarea></td>
</tr> </table> <br>
<%
String lk="bookTitle="+binfo.getBookTitle()+"&ISBN="+binfo.getIsbn();
lk=lk+"&author="+binfo.getAuthor()+"&pubDate="+binfo.getPubdate();
lk=lk+"&press="+binfo.getPress()+"&amount="+binfo.getAmount();
lk=lk+"&price="+binfo.getPrice()+"&content="+binfo.getContent();
lk=lk+"&id="+binfo.getBookInfoId()+"&bookType="+binfo.getBookTypeId();
%> <center> <b><a href="DoAdd.jsp?id=<%= binfo.getBookInfoId () %>&saveType=3&<%=lk %>">刪除確認( <%= request.getParameter ("id") %>)</a></b> </center><% } else {%> <center> <h2><font color="#cc0000">未找到記錄 <%= request.getParameter ("id") %></font></h2> </center><% }%> <hr> <center> <b><a href="Home.jsp">[返回]</a></b> </center> </body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -