?? deleteproduct.jsp
字號(hào):
<%@ page language="java" errorPage="../../error.jsp" %>
<%@ include file="../../jstl.inc"%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../../hellking.css" type=text/css rel=stylesheet>
</head>
<body>
<sql:query var="query" dataSource="${jspdev}">
SELECT * FROM product
</sql:query>
<table align="center" bgcolor="#008800" border="0" cellspacing="2" cellpadding="5">
<tr bgcolor="#cccccc">
<td><b>ID</b></td>
<td><b>名稱 </b></td>
<td><b>類別 </b></td>
<td><b>刪除 </b></td>
</tr>
<c:forEach var="row" items="${query.rows}">
<tr bgcolor="#FFFF88">
<td> ${row.productId}</td>
<td> ${row.name}</td>
<td> ${row.category}</td>
<td><a href="deleteProduct_do.jsp?productId=${row.productId}"/>刪除</a></td>
</tr>
</c:forEach>
</table>
</form>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -