📄 detail.jsp
字号:
<%@ page contentType="text/html;charset=GBK" language="java" %>
<%@ page import = "com.dongfang.po.*" %>
<%@ page import = "java.util.*" %>
<%
Book book = (Book)session.getAttribute(Contants.BOOK_KEY);
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<LINK href="images/css.css" type=text/css rel=stylesheet>
<title>Shopping Online</title>
</head>
<%
if(book != null ){
%>
<body>
<TABLE style="MARGIN-BOTTOM: 6px" cellSpacing=1 cellPadding=0 width="100%"
align=center border=0>
<TR bgColor=#ffffff>
<TD align=middle colSpan=2 height=100>
<DIV align=center></DIV>
<TABLE height=5 cellSpacing=0 cellPadding=0 width="95%" align=center
border=0>
<TBODY>
<TR>
<TD vAlign=top width="100%">
<TABLE cellSpacing=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="100%" bgColor=#ffffff>
<TABLE cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR>
<TD style="BORDER-RIGHT: #dbc2b0 1px solid"
width=180>
<DIV align=center><IMG
src="<%=book.getImage()%>"
border=0><BR><BR></A></DIV></TD>
<TD align=middle width=362>
<DIV align=center>
<CENTER>
<TABLE style="BORDER-COLLAPSE: collapse"
borderColor=#808080 cellSpacing=0 cellPadding=0
width="90%" bgColor=#f5efe7 border=1>
<TBODY>
<TR align=middle>
<TD colSpan=2 height=25>书名:<A
href="detail.do?bookId=<%=book.getId()%>"><%=book.getName()%></A></TD></TR>
<TR bgColor=#ffffff>
<TD width="50%" height=25>
<DIV align=right>市场价格:</DIV></TD>
<TD width="50%" height=25>
<DIV align=center><S><%=book.getPrice()%></S>元</DIV></TD></TR>
<TR bgColor=#ffffff>
<TD width="50%" height=25>
<DIV align=right>作者:</DIV></TD>
<TD width="50%" height=25>
<DIV align=center><%=book.getWriter()%></DIV></TD></TR>
<TR bgColor=#ffffff>
<TD width="50%" height=25>
<DIV align=right>出版社:</DIV></TD>
<TD width="50%" height=25>
<DIV align=center><%=book.getPublish()%></DIV></TD></TR>
<TR bgColor=#ffffff>
<TD height=25>
<DIV align=right>会员价格:</DIV></TD>
<TD height=25>
<DIV align=center><FONT
color=#d03430><%=book.getSaleprice()%></FONT>元</DIV></TD></TR>
<TR bgColor=#ffffff>
<TD colSpan=2 height=35>
<DIV align=center><A
href="buy.do?bookId=<%=book.getId()%>">订购<IMG
src="images/order.gif" align=absMiddle
border=0 width="21" height="15"></A></DIV></TD></TR></TBODY></TABLE></CENTER></DIV>
<TABLE cellSpacing=0 cellPadding=0 width="95%"
border=0>
<TBODY>
<TR>
<TD vAlign=bottom
height=30><%=book.getDescript()%></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="95%"
border=0>
<TBODY>
<TR>
<TD> <IMG height=20
src="images/ttt.gif" width=40>
</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="95%"
border=0>
<TBODY>
<TR>
<TD height=5><IMG height=1
src="images/seperator.gif"
width=359></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD vAlign=top align=middle width="100%"
bgColor=#ffffff><TABLE cellSpacing=0 cellPadding=0
width="100%" border=0>
<TBODY>
<TR>
<TD style="BORDER-BOTTOM: #cccccc 1px solid"
bgColor=#f7f7f7> 详细信息</TD></TR>
<TR>
<TD style="LINE-HEIGHT: 20px"><%=book.getContents()%> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD width="100%"></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="95%" border=0>
<TBODY>
<TR>
<TD></TD></TR></TBODY></TABLE>
<BR>
<TABLE height=25 cellSpacing=0 cellPadding=0 width="100%"
border=0><TBODY>
<TR>
<TD vAlign=center>
<DIV align=center><IMG height=1
src="images/seperator.gif"
width=359></DIV></TD></TR></TBODY></TABLE></TD></TR></TABLE>
</body>
<%
}
%>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -