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

📄 bookdetail.jsp

📁 用java开发的一个简单的手机购物网站 能够实现购物车功能 收索功能 下定单
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" errorPage="err.jsp?msg=未知错误" %>
<%@ page import="java.util.*, ebook.*" %>
<jsp:useBean id="bookBean" scope="page" class="ebook.BookBean" />
<% request.setCharacterEncoding("gbk"); %>
<html>
<style type="text/css">
<!--
.title_1 {  font-family: "华文行楷"; font-size: 36px; color: #CC66FF; width: 100%; }

a:link {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
-->
        </style>
    <head>
        <title>在线手机商店-手机器详细</title>
    </head>
    <body bgcolor="#f0f4dc"><center>     
        
       
        <jsp:include page="header.jsp" />
        <h1 align="center"><font class="title_1">手机详情</font></h1>
        <div align="center">
          <table width="780" border="1" cellpadding="0" cellspacing="0" bordercolor="#DF25F0">
            <!--DWLayoutTable-->
			<%
    BookBean book =bookBean.getBook(Integer.parseInt(request.getParameter("bookId")));
%>
            <tr>
              <td valign="middle" width="200" height="50"  background="img/标题-16.jpg"><font face="楷体_GB2312">手机名称<!--DWLayoutEmptyCell-->&nbsp;</td>
              <td valign="middle" width="580" valign="top" background=""><font face="楷体_GB2312"><%= book.getBookName() %><!--DWLayoutEmptyCell-->&nbsp;</td>
            </tr>
            <tr>
              <td valign="middle" height="50"  background="img/标题-16.jpg"><font face="楷体_GB2312">手机价格<!--DWLayoutEmptyCell-->&nbsp;</font></td>
              <td valign="middle" background=""><font face="楷体_GB2312"><%= book.getPrice() %><!--DWLayoutEmptyCell-->&nbsp;</font></td>
            </tr>
            <tr>
              <td valign="middle" height="50"  background="img/标题-16.jpg"><font face="楷体_GB2312">购买<!--DWLayoutEmptyCell-->&nbsp;</font></td>
              <td valign="middle" background=""><font face="楷体_GB2312"><a href="shopping.jsp?action=add&bookId=<%= book.getBookId() %>">
                        <font face="楷体_GB2312">点击购买</font>
                    </a><!--DWLayoutEmptyCell-->&nbsp;</td>
            </tr>
            <tr>
              <td height="50"  background="img/标题-16.jpg"><font face="楷体_GB2312">手机简介<!--DWLayoutEmptyCell-->&nbsp;</font></td>
              <td valign="middle" background=""><font face="楷体_GB2312"><%= book.getDescription() %><!--DWLayoutEmptyCell-->&nbsp;</font></td>
            </tr>
          </table>
        </div>
    </body>
	<jsp:include page="footer.jsp" />
</html>

⌨️ 快捷键说明

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