获取所有Menue List<Menue> list = list = iMenueService.findAll(); 将list传到jsp页面进行遍历: <c:forEach items="${list }" var="it"> t.add("${it.menueId}","${it.parent.menueId}");</c:forEach> 遍历时报错:Property 'it' not found on type com.lqq.model.Menue 不解为什么?求教 java [解决办法] <c:forEach items="${list }" var="task"> t.add(${task.menueId},${task.parent.menueId}); </c:forEach> [解决办法]