?? typelist.jsp~26~
字號:
<%@ page contentType="text/html; charset=GBK"
import="java.util.*"
import="com.accp.gz.th.zm.server.action.*"
import="com.accp.gz.th.zm.server.dao.*"
import="com.accp.gz.th.zm.server.entity.*"
%>
<%! ArrayList list;%>
<% list =BusinessDelegate.selectType(); %>
<html>
<head>
<title>商品類型</title>
</head>
<body bgcolor="#ffffff">
<%--
for(int i=0; i<list.size(); i++){
GoodsType gt=(GoodsType)list.get(i);
out.println(gt.getName().toString()+"<br>");
}
--%>
<%
for(int i=0; i<list.size(); i++){
GoodsType gt=(GoodsType)list.get(i);
int id=gt.getId();
String name=gt.getName();%>
out.println("<a href='GoodsList.jsp?typeId="+id+"' target='right'>"+name+"</a><br>");
<% }
%>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -