TestTV20.jsp
资源名称:Shopping.rar [点击查看]
上传用户:lsj999sz
上传日期:2022-06-15
资源大小:4717k
文件大小:1k
源码类别:
ICQ/即时通讯
开发平台:
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>