set、Set cannot be resolved to a type
<%List listz = (List) request.getSession().getAttribute("queryCList");
List lista = (List) request.getSession().getAttribute("queryAll");
if (listz != null) {
for (int i = 0; i < listz.size(); i++) {
Indent indent = (Indent) lista.get(i);
Cart cart = (Cart) listz.get(i);
%>
<tr>
<td>
<font color="blue">订单编号:</font>
</td>
<td><%=indent.getIndentId()%></td>
</tr>
<%
Set<CartSelectpart> c = cart.getCartSelectparts();
Iterator projectlist = c.iterator();
if (projectlist != null) {
while (projectlist.hasNext()) {
CartSelectpart cs = (CartSelectpart) projectlist
.next();
%> --------------------编程问答-------------------- import了么 --------------------编程问答-------------------- <%@ page language="java" import="java.util.Set" pageEncoding="UTF-8"%>
要将import Set
补充:Java , Web 开发