confirmorder.jsp

来自「IBM提供的购物车」· JSP 代码 · 共 95 行

JSP
95
字号
<%@ page 
language="java"

pageEncoding="gb2312"
import="com.webshop.view.*,com.webshop.exception.*,com.webshop.domain.*"
%>
<%@ include file="/include/top.jspf"%> 

<logic:present name="message">
  <center><b><bean:write name="message" /></b></center>
</logic:present>

<p>
<center>
<b>请确认以下信息,然后点击确认...</b>
</center>
<p>
<TABLE class=font1 cellSpacing=0 borderColorDark=#ffffff cellPadding=2 width="99%" align=center bgColor=#ffffff borderColorLight=#003686 border=1>
<tr bgcolor="#FFFF88"><td align="center" colspan="2">
  <font size="4"><b>Order #<bean:write name="orderForm" property="order.orderId" /></b></font>
  <br /><font size="3"><b><bean:write name="orderForm" property="order.orderDate" /></b></font>
</td></tr>

<!-- SHIP INFO -->
<tr bgcolor="#FFFF88"><td colspan="2">
<font color="GREEN" size="4"><b>送货地址</b></font>
</td></tr><tr bgcolor="#FFFF88"><td>
姓名:</td><td><bean:write name="orderForm" property="order.shipToName" />
</td></tr>
<tr bgcolor="#FFFF88"><td>
街道地址 1:</td><td><bean:write name="orderForm" property="order.shipAddress1" />
</td></tr>
<tr bgcolor="#FFFF88"><td>
街道地址 2:</td><td><bean:write name="orderForm" property="order.shipAddress2" />
</td></tr>
<tr bgcolor="#FFFF88"><td>
城市: </td><td><bean:write name="orderForm" property="order.shipCity" />
</td></tr>
<tr bgcolor="#FFFF88"><td>
省:</td><td><bean:write name="orderForm" property="order.shipState" />
</td></tr>
<tr bgcolor="#FFFF88"><td>
邮编:</td><td><bean:write name="orderForm" property="order.shipZip" />
</td></tr>
<tr bgcolor="#FFFF88"><td>
国家: </td><td><bean:write name="orderForm" property="order.shipCountry" />
</td></tr>
<logic:equal name="orderForm" property="order.payInfo.payType" value="CreditCard" >

<tr bgcolor="#FFFF88"><td colspan="2">
<font color="GREEN" size="4"><b>付款详细信息</b></font>
</td></tr>
<tr bgcolor="#FFFF88"><td>
信用卡类型:</td><td>
<bean:write name="orderForm" property="order.payInfo.creditCardInfo.cardType" />
</td></tr>
<tr bgcolor="#FFFF88"><td>
卡号:</td><td><bean:write name="orderForm" property="order.payInfo.creditCardInfo.creditCard" /> <font color="red" size="2">* 注意,不要填写真号码!</font>
</td></tr>
<tr bgcolor="#FFFF88"><td>
有效期 (MM/YYYY):</td><td><bean:write name="orderForm" property="order.payInfo.creditCardInfo.expiryDate" />
</td></tr>

<!-- BILL INFO-->
<tr bgcolor="#FFFF88"><td colspan="2">
<font color="GREEN" size="4"><b>帐单地址信息</b></font>
</td></tr>
<tr bgcolor="#FFFF88"><td>
名字:</td><td><bean:write name="orderForm" property="order.payInfo.creditCardInfo.billToName" />
</td></tr>

<tr bgcolor="#FFFF88"><td>
街道地址 1:</td><td><bean:write name="orderForm" property="order.payInfo.creditCardInfo.billAddr1" />
</td></tr>
<tr bgcolor="#FFFF88"><td>
街道地址 2:</td><td><bean:write name="orderForm" property="order.payInfo.creditCardInfo.billAddr2" />
</td></tr>
<tr bgcolor="#FFFF88"><td>
城市: </td><td><bean:write name="orderForm" property="order.payInfo.creditCardInfo.billCity" />
</td></tr>
<tr bgcolor="#FFFF88"><td>
国家:</td><td><bean:write name="orderForm" property="order.payInfo.creditCardInfo.billState" />
</td></tr>
<tr bgcolor="#FFFF88"><td>
邮编:</td><td><bean:write name="orderForm" property="order.payInfo.creditCardInfo.billZip" />
</td></tr>
<tr bgcolor="#FFFF88"><td>
国家: </td><td><bean:write name="orderForm" property="order.payInfo.creditCardInfo.billCountry" />
</td></tr>
</logic:equal>
</table>
<p>
<center><html:link page="/order/newOrder.do?confirmed=true"><img border="0" src="../images/button_continue.gif" /></html:link></center>

<%@ include file="/include/bottom.jspf"%>

⌨️ 快捷键说明

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