📄 waredetail.jsp
字号:
<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-template" prefix="template" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<html:base />
<title>wareDetail.jsp</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>
<form action="${pageContext.request.contextPath}/cartManage.do?method=addCartItem&&wareId=${requestScope.singleWare.wareId}" method="post">
<table border="1" width="70%" align="center" cellspacing="0" cellpadding="10" bordercolor="#8000ff">
<tr>
<td colspan="2" align="center"><h3>商品详细信息</h3></td>
</tr>
<tr>
<td>商品名称:</td><td><c:out value="${requestScope.singleWare.wareName}"></c:out></td>
</tr>
<tr>
<td>价格:</td><td><c:out value="${requestScope.singleWare.warePrice}"></c:out></td>
</tr>
<tr>
<td>商品状态:</td><td><c:out value="${requestScope.singleWare.wareState}"></c:out></td>
</tr>
<tr>
<td>商品描述:</td><td><c:out value="${requestScope.singleWare.wareInfo}"></c:out></td>
</tr>
<tr>
<td>照片:</td><td><img src="/shop/photo/${requestScope.singleWare.warePhoto}"/></td>
</tr>
<tr>
<td>所需数量:</td><td><input type="text" name="count" value="1" size="3"/></td>
</tr>
<tr>
<td></td><td><input type="submit" value="放入购物车" name="submit"/></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -