?? orderdetail.jsp
字號(hào):
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
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%>">
<html:base/>
<title>My JSP 'orderDetail.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">
-->
<link rel="stylesheet" type="text/css" href="../../photo/css.css">
</head>
<body>
<jsp:include flush="true" page="head.jsp"></jsp:include>
<table border="1" width="70%" align="center" cellspacing="0" cellpadding="10" bordercolor="#8000ff">
<tr>
<td colspan="5" align="center"><h3>訂單詳情</h3></td>
</tr>
<tr>
<th>商品名</th><th>簡(jiǎn)介</th><th>單價(jià)</th><th>數(shù)量</th><th>金額</th>
</tr>
<c:forEach items="${requestScope.orderWares}" var="orderWare">
<tr>
<td><c:out value="${orderWare.wares.wareName}"></c:out></td>
<td><c:out value="${orderWare.wares.wareInfo}"></c:out></td>
<td><c:out value="${orderWare.wares.warePrice}"></c:out></td>
<td><c:out value="${orderWare.wareNum}"></c:out></td>
<td><c:out value="${orderWare.warePrice}"></c:out></td>
</tr>
</c:forEach>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -