⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stocklist.jsp

📁 jsp超市管理系统 几好架
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<html>
	<head>
		<title>My JSP 'StockList.jsp' starting page</title>
	</head>

				<c:if test="${manager==null}">
  <c:set value="123" var="login" scope="session" />
			<c:redirect url="login.jsp"></c:redirect>
		</c:if>
	<body>
		<center>
			<br />
			<h1>
				超市管理系统————————商品进货列表
			</h1>

			<br />
			<br />
			<hr>
			<br />
			<table>
				<tr>
					<th>
						商品编号
					</th>
					<th>
						商品名
					</th>
					<th>
						商品类型
					</th>
					<th>
						进货数量
					</th>
					<th>
						进货价格
					</th>
					<th>
						进货日期
					</th>
					<th>
						供应商编号
					</th>
					<th>
						管理员
					</th>
				</tr>
				<c:forEach var="stock" items="${list}">
					<tr>
						<td>
							${stock.cargo_id }
						</td>


						<td>
							${stock.cargo_name }
						</td>


						<td>
							${stock.cargo_type }
						</td>

						<td>
							${stock.stock_num }
						</td>


						<td>
							${stock.stock_price }
						</td>


						<td>
							${stock.stock_date }
						</td>


						<td>
							${stock.pro_id }
						</td>


						<td>
							${stock.mana_name }
						</td>
					</tr>
				</c:forEach>

			</table>
		</center>
	</body>
</html>

⌨️ 快捷键说明

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