📄 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>数量:</th>
<td><%=binfo.getAmount() %></td>
</tr>
<tr>
<th>价格:</th>
<td><%=binfo.getPrice() %></td>
</tr>
<tr>
<th>内容摘要:</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 + -