我正在尝试使用 JSTL 将我的数据显示到 JSP 中,但控制台显示我javax.el.PropertyNotFoundException: The class 'java.lang.Integer' does not have the property '0'
有一个List<Object>
withInteger and BigDecimal
和我的 JSP 我确实放了
<c:forEach items="${obj}" var="object">
<tr>
<td width="10%" class="r1Left">${object[0].id}</td>
</tr>
</c:forEach>
我的List<Object>
包含 [10, 1278612143.23, 10, 3343443.56, 4, 123.45]
请帮我。