欢迎来到虫虫下载站 | 资源下载 资源专辑 关于我们
虫虫下载站

checkoutcompleted.jsp

用Struts+Hibernate实现一个在线书店系统
JSP
字号:
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page import="com.jtf.bookstore.BookstoreConstants"%>
<c:set value="<%=String.valueOf(BookstoreConstants.APPROVED_ID)%>" var="approved"/>

<c:choose>
	<c:when test="${order.status.id eq approved}">
		<table cellspacing=3 cellpadding=3 border=0 width=500>
		<tr>
			<td><h3>完成订单提交页面</h3></td>
		</tr>
		<tr>
			<td>您的订单已提交.<p>
			    您的订单号是: ${order.id}.<P>
			    这些商品将通过以下地址尽快邮寄给您:</td>
		</tr>
		<tr>
			<td>${order.firstName} ${order.lastName}<br>
				  ${order.address}<br>
				  ${order.zipCode}</td>
		</tr>
		</table>
	</c:when>
	<c:otherwise>
	 	<table cellspacing=3 cellpadding=3 border=0 width=500>
		<tr>
			<td><h3>出错了!</h3></td>
		</tr>
		<tr>
			<td>Your order has been declined by your credit card's financial institution.<p>
			    For your reference the order number is: ${order.id}.
			    <P>
			    如果您想在试一次请单击此处 <a href="javascript:history.back(-1)"> 回到上一页</a>.
			    如果问题依然存在,请尽快联系您的银行,我们将为您保留订单.
			    </td>
		</tr>
		</table>
	</c:otherwise>
</c:choose>

⌨️ 快捷键说明

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