📄 browse.jsp
字号:
<%@ page language="java" import="java.util.*" contentType="text/html; charset=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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/style1.css" rel="stylesheet">
<link href="<%=request.getContextPath()%>/css/style_2.css" rel="stylesheet">
<title>浏览页面</title>
</head>
<body>
<%
int index = Integer.parseInt(request.getParameter("browseindex"));
session.setAttribute("index", new Integer(index));
%>
<c:forEach items="${plans}" var="browseplan" begin="${index}"
end="${(index)}">
<table width="95%" height="58" border="0" align="center"
cellpadding="0" cellspacing="0">
<tr>
<th width="16%" height="24" scope="col"></th>
<th width="64%" height="15" scope="col"></th>
<th width="20%" scope="col"></th>
</tr>
<tr>
<td valign="middle"></td>
<td height="25" align="center">
${browseplan.planing } 详 细 介 绍
</td>
<td></td>
</tr>
</table>
<table width="95%" height="80" border="0" align="center"
cellpadding="0" cellspacing="0" bgcolor="#ECECF2">
<tr align="center">
<td width="17%">
物资名称:
</td>
<td height="25" width="14%">
${browseplan.name }
</td>
<td width="16%">
数量:
</td>
<td width="14%">
${browseplan.numbers }
</td>
<td width="17%">
类型:
</td>
<td width="17%"15%>
${browseplan.type }
</td>
<td width="5%"15%></td>
</tr>
<tr align="center">
<td>
计量单位:
</td>
<td height="25">
${browseplan.untils }
</td>
<td>
时间:
</td>
<td>
${browseplan.time }
</td>
<td>
折旧情况:
</td>
<td>
${browseplan.dime }
</td>
<td></td>
</tr>
<tr align="center">
<td height="30">
金额:
</td>
<td height="30">
${browseplan.money }
</td>
<td height="30">
供应商:
</td>
<td>
${browseplan.boss }
</td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</c:forEach>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -