⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 show.jsp

📁 网上书店jsp开发 购物车 收藏 使用servlet 是小型项目 仅供参考
💻 JSP
字号:
<%@page import="javabean.*" %>
<%@page import="java.sql.*" %>
<%@page import="service.*" %>
<%@page import="java.sql.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html; charset=gb2312" %> 
<% request.setCharacterEncoding("GB2312"); %> 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<title>无标题文档</title>
<style type="text/css">
<!--
.STYLE1 {
	font-size: 36pt;
	font-weight: bold;
	color: #0099FF;
}
.STYLE2 {color: #FF0000}
.STYLE4 {
	color: #0099FF;
	font-size: 18pt;
	font-weight: bold;
}
-->
</style>
</head>

<body>
	<%
		ResultSet rs = null;
		IBookInfo book = new BookInfoImple();
		rs = book.query();
		
		
	%>

<form id="form1" name="form1" method="post" action="delete.jsp">
  <p align="center" class="STYLE1">图书信息</p>
  <p align="center" class="STYLE1">&nbsp;</p>
  <table width="622" height="93" border="1" align="center">
    <tr>
      <th width="43" height="42" scope="col"><span class="STYLE2">删除选项</span></th>
      <th width="51" scope="col"><span class="STYLE2">索引</span></th>
      <th width="124" scope="col"><span class="STYLE2">书名</span></th>
      <th width="63" scope="col"><span class="STYLE2">定价</span></th>
      <th width="135" scope="col"><span class="STYLE2">作者</span></th>
      <th width="66" scope="col"><span class="STYLE2">出版日期</span></th>
      <th width="94" scope="col"><span class="STYLE2">出版社</span></th>
    </tr>
    <% while(rs.next()){%>
    <tr>
      <td><div align="center">
        <input type="checkbox" name="checkbox" value="<%=rs.getInt("id")%>" />
      </div></td>
      <td><a href="update.jsp?id=<%=rs.getInt("id")%>&name=<%=rs.getString("name")%>&price=<%=rs.getInt("price")%>&author=<%=rs.getString("author")%>&date=<%=rs.getString("date")%>&bookman=<%=rs.getString("bookman")%>"><%=rs.getInt("id")%></a></td>
      <td><%=rs.getString("name")%></td>
      <td><%=rs.getInt("price")%></td>
      <td><%=rs.getString("author")%></td>
      <td><%=rs.getString("date")%></td>
      <td><%=rs.getString("bookman")%></td>
    </tr>
    <%} %>
  </table>
  <p align="center" class="STYLE1">
    <input type="submit" name="Submit" value="删除" />
    &nbsp;
    <input type="reset" name="Submit2" value="重置" />
  </p>
  <p align="center" class="STYLE1">&nbsp;</p>
  <p align="center" class="STYLE4"><a href="index.jsp">首页</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="addInfo.jsp">返回</a></p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
</form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -