TestTV20.jsp
资源名称:JAVAshop.rar [点击查看]
上传用户:sxychgz
上传日期:2019-04-21
资源大小:4772k
文件大小:1k
源码类别:
电子政务应用
开发平台:
Java
- <%@page pageEncoding="GB18030"%>
- <%@page import="com.bjsxt.shopping.category.*, java.util.*"%>
- <%
- List<Category> categories = CategoryService.getInstance().getCategories();
- %>
- <html>
- <head>
- <script language="javascript" src="script/TV20.js"></script>
- </head>
- <body>
- <script language="javascript">
- <!--
- addNode(-1,0,"所有类别","../images/top.gif");
- <%
- for(Category c : categories) {
- %>
- addNode(<%=c.getPid() %>,<%=c.getId()%>,"<%=c.getName() %>","../images/top.gif");
- <%
- }
- %>
- showTV();
- -->
- </script>
- </body>
- </html>