WebRoot/manager/listClothes.jsp
(完整代码) 1KB<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>显示所有商品</title>
<link href="../css/table.css" rel="stylesheet" type="text/css"/>
</head>
<body style="text-align:center;">
<h2>商品信息</h2>
<table border="1" width="60%" align="center">
<tr style="text-align:center">
<th>商品名称</th>
<th>品牌</th>
<th>价格</th>
<th>图片</th>
<th>描述</th>
</tr>
<c:forEach var="clothes" items="${page.list }">
<tr style="text-align:center">
<td>${clothes.name }</td>
<td>${clothes.brand }</td>
<td>${clothes.price }</td>
<td>
<a href="${pageContext.request.contextPath }/images/${clothes.image}">查看图片</a>
</td>
<td>${clothes.description }</td>
</tr>
</c:forEach>
</table>
<br>
当前第[${page.pageNum }]页
<c:forEach var="pageNum" begin="${page.startPage }" end="${page.endPage }">
[<a href="${pageContext.request.contextPath }/manager/ClothesServlet?method=list&pageNum=${pageNum}">${pageNum }</a>]
</c:forEach>
总共[${page.totalPage }]页,共[${page.totalRecord }]条记录
</body>
</html>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。