bookShow.jsp
上传用户:jishiqi_cj
上传日期:2022-08-08
资源大小:24765k
文件大小:3k
源码类别:

Java编程

开发平台:

Java

  1. <%@ page contentType="text/html;charset=GBK" language="java" %>
  2. <%@ page import = "BookStore.*" %>
  3. <%@ page import = "java.util.*" %>
  4. <%
  5. Book book = (Book)session.getAttribute(Constants.BOOK_DETAIL_KEY);
  6. %>
  7. <HTML><HEAD><TITLE>图书说明</TITLE>
  8. <META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
  9. href="images/style.css" type="text/css" rel=stylesheet>
  10. </HEAD>
  11. <BODY bgColor=#ffffff leftMargin=0 topMargin=0>
  12. <TABLE cellSpacing=0 cellPadding=0 width=763 align=center bgColor=#a0c484 
  13. border=0>
  14.   <TBODY>
  15.   <TR>
  16.     <TD>
  17.       <div align="center">
  18.         <center>
  19.       <TABLE  cellSpacing=0 cellPadding=0 width="764" bgcolor="#336699" style="border-collapse: collapse" bordercolor="#111111" >
  20.         <TBODY>
  21.         <TR>
  22.           <TD align=middle width=599> </TD>
  23.           </TR></TBODY></TABLE></center>
  24.       </div>
  25.     </TD></TR></TBODY></TABLE>
  26. <TABLE cellSpacing=0 cellPadding=0 width=763 align=center border=0>
  27.   <TBODY>
  28.   <TR>
  29.     <TD vAlign=top align=middle width="697"><BR>
  30.       <DIV align=right>
  31.         <img border="0" src="images/00-1.gif" width="82" height="59"><img border="0" src="images/00-2.gif" width="90" height="59"></DIV>&nbsp;&nbsp;&nbsp;<BR>
  32.       <hr>
  33.     <TABLE cellSpacing=0 cellPadding=0 width=625 align=center border=0 height="492">
  34.         <TBODY>
  35.         <TR>
  36.           <TD width=600 height="291">
  37.             <TABLE width=600 border=0>
  38.               <TBODY>
  39.               <TR>
  40.                 <TD vAlign=top width=100><IMG height=150 alt=图书封面 
  41.                   src="<%=book.getImage()%>" width=100 align=left border=1 
  42.                   valign="middle"></TD>
  43.                 <TD><FONT class=heading3 
  44.                   color=#ff0000><B><%=book.getName()%></B></FONT><BR><B>作者:</B><FONT 
  45.                   color=blue><%=book.getAuthor()%>
  46.                   </FONT>&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;<FONT                  class=small><%=book.getDescript()%></FONT> 
  47.                   </FONT></TD></TR></TBODY></TABLE>
  48.             <TABLE width=620 border=0 colspan="3">
  49.               <TBODY>
  50.                 <TD><FONT class=p9><B>定价: </B><FONT 
  51.                   color=red><%=book.getPrice()%>元</FONT></FONT></TD>
  52.                 <TD><FONT class=p9><B>本站价格:</B><FONT color=red><%=book.getSalePrice()%>元 
  53.                   </FONT> </FONT>
  54.                 
  55.               <TR>
  56.                 <TD align=left colspan="2"><A 
  57.                   href="bookBuy.do?bookId=<%=book.getId()%>"><IMG 
  58.                   height=17 src="images/order.gif" width=54 border=0></A></TD>
  59.                 </TR></TBODY></TABLE></TD></TR>
  60.         <TR bgColor=#ececda>
  61.           <TD width=621 height=26 bgcolor="#336699">
  62.             <DIV align=left><FONT color=#FFFFFF><I>目录</I></FONT> </DIV></TD></TR>
  63.         <TR>
  64.           <TD width=620 height="145">
  65.             <UL>
  66.               <P><FONT              class=p9><%=book.getContents()%> 
  67.               </FONT></P></UL></TD></TR>
  68.         <TR>
  69.           <TD height=30><hr> </TD></TR>
  70.         </TBODY></TABLE></TR></TBODY></TABLE></TD></TR></TABLE>
  71. <TABLE width=763 align=center border=0>
  72.   <TBODY>
  73.   <TR>
  74.     <TD>
  75.       <HR width="90%" SIZE=1>
  76.     </TD></TR>
  77.   <TR>
  78.     <TD height=20>
  79.       <DIV align=center>Study<span lang="zh-cn"> </span>Online
  80.         <span lang="zh-cn">版权所有</span></DIV></TD></TR>
  81.   </TBODY></TABLE></BODY></HTML>