You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.6 KiB
53 lines
1.6 KiB
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
|
<%
|
|
String path = request.getContextPath();
|
|
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
|
%>
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<base href="<%=basePath%>">
|
|
|
|
<title>My JSP 'ShowOrder.jsp' starting page</title>
|
|
|
|
<meta http-equiv="pragma" content="no-cache">
|
|
<meta http-equiv="cache-control" content="no-cache">
|
|
<meta http-equiv="expires" content="0">
|
|
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
|
<meta http-equiv="description" content="This is my page">
|
|
<!--
|
|
<link rel="stylesheet" type="text/css" href="styles.css">
|
|
-->
|
|
</head>
|
|
<body>
|
|
<center>
|
|
<table id="tblList" border="1">
|
|
<tr>
|
|
<td colspan="6"> <h2>查看订单<h2/> </td>
|
|
</tr>
|
|
<tr>
|
|
<th>订单编号</th>
|
|
<th>购买商品</th>
|
|
<th>价格</th>
|
|
<th>数量</th>
|
|
<th>收货地址</th>
|
|
<th>卖家留言</th>
|
|
</tr>
|
|
|
|
<c:forEach var="list" items="${lists}">
|
|
<tr>
|
|
<td>${list.o_Id}</td>
|
|
<td>${list.orderDetails.g_Name}</td>
|
|
<td>${list.orderDetails.g_Price}</td>
|
|
<td>${list.orderDetails.o_Count}</td>
|
|
<td>${list.o_Address}</td>
|
|
<td>${list.o_Msg}</td>
|
|
</tr>
|
|
</c:forEach>
|
|
</table>
|
|
</center>
|
|
</body>
|
|
</html>
|