问题描述
jsp页面<c:forEachitems="${list1}"var="itm"varStatus="index"><tralign="center"bgcolor="#FFFFFF"class="font12180"><td><divalign="center"class="txt_content">${index.index+1}</div></td><td><divalign="center"class="txt_content">${itm.makeDate}</div></td></tr></c:forEach>报错信息:无法调用servlet/jsp/report/stockReport.jsp的service()方法。抛出异常:javax.servlet.ServletException:Unabletofindavaluefor"makeDate"inobjectofclass"java.lang.String"usingoperator"."怎么将list1中数据遍历报错。item.makeDate,makeDate为模型字段publicclassApMakeCardimplementsjava.io.Serializable{//FieldsprivateIntegermakeCardId;privateStringcardBin;privateStringmerId;privateStringcardLevel;privateStringcardAmount;privateDatemakeDate;privateDateuseDate;privateStringuserCode;privateStringpwdProduce;privateStringreChargeFlag;