Action类中,各个成员变量(局部变量)必须要有get和set方法
首先Action类中,各个成员变量(局部变量)必须要有get和set方法
如果没有,jsp页面无法取出数据
<c:if test="${empty memberBetList}"><tr><td colspan="100%">没有数据!</td></c:if> <s:iterator value="memberBetList" status="rowstatus" var="memberBet"> <s:if test="#rowstatus.even==true"> <tr onmouseover="this.className='even_over'" onmouseout="this.className='even'" class="even"> </s:if> <s:else> <tr onmouseover="this.className='odd_over'" onmouseout="this.className='odd'" class="odd"> </s:else> <td style='text-align:center'><s:property value="id"/></td> <td style='text-align:center'>${memberGuessCycleMap[memberGuessCycleId].batchNo }</td> <td style='text-align:center'>${memberBet.betIntegral}</td> <td style='text-align:center'> <c:if test="${memberBet.betPoint==0}">负</c:if> <c:if test="${memberBet.betPoint==1}">正</c:if> </td> <td style='text-align:center'>${memberBet.createTime}</td> </s:iterator>