product_modi_list.jsp
来自「用SPRING做的一个企业信息系统网站」· JSP 代码 · 共 47 行
JSP
47 行
<%@ page language="java" pageEncoding="GB2312"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<style>
TABLE {
BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px
}
TD {
FONT: 12px 宋体
}
.hand {cursor:hand
}
</style>
<html:html>
<body>
<p> </p>
<table border="1" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td width="92" nowrap><div align="center">产品名称</div></td>
<td width="102" nowrap><div align="center">产品简介</div></td>
<td width="114" nowrap><div align="center">适应温度</div></td>
<td width="118" nowrap><div align="center">工作压力</div></td>
<td width="30" nowrap><div align="center">操作</div></td>
</tr>
<c:forEach var="products" items="${ListProducts}">
<tr class="hand" onmousemove="color=this.style.backgroundColor;this.style.backgroundColor='rgb(162,162,0)'" style="width: 529px" onmouseout="this.style.backgroundColor='white'">
<td>${products.pname}</td>
<td>${products.introduce}</td>
<td>${products.temperature}</td>
<td>${products.pressure}</td>
<td><input type="button" value="修改" onclick="window.location.href='product.do?method=listProduct&id=${products.ID}'" /></td>
</tr>
</c:forEach>
</table>
<table width="90%" border="0" align="center">
</table>
</body>
</html:html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?