后台向前台出入Map<Map<Obj,Obj>,Obj>的 cartMap
<c:forEach var="cart" items="${cartMap.value}" >这句该怎么改,为什么数据类型会错误?
<c:forEach var="cartMap" items="${cartMap}">
<table cellpadding="0" cellspacing="0" class="gwc_tb2">
<tr>
<td class="tb2_td1"><input type="checkbox" value="1" name="newslist" id="newslist-1" /></td>
<c:forEach var="goodsMap" items="${cartMap.key}" >
<c:forEach var="img" items="${goodsMap.value}" >
<td class="tb2_td2"><a href="#"><img style="height: 200px ; width: 200px" src="goodsimg/${img.img_name}"/></a></td>
</c:forEach>
<td class="tb2_td3"><a href="#">${goodsMap.key.getGoods_name()}</a></td>
</c:forEach>
<c:forEach var="cart" items="${cartMap.value}" >
<td class="tb1_td5">
<input id="min1" name="" style=" outline: none;width:20px; height:20px ; border-radius: 20px" type="button" value="-" />
<input id="text_box1" name="" type="text" value="${cart.cart_count}" style=" width:40px;height: 40px; text-align:center; border:2px solid #e5e4fd;" />
<input id="add1" name="" style=" outline: none;width:20px; height:20px; border-radius: 20px" type="button" value="+" />
</td>
</c:forEach>
<td class="tb1_td6"><label id="total1" class="tot" style="color:#ff5500;font-size:14px; font-weight:bold;"></label></td>
<td class="tb1_td7"><a href="#">删除</a></td>
</tr>
</table>
</c:forEach>
<c:forEach var="cart" items="${cartMap.value}" >这句该怎么改,为什么数据类型会错误?