<s:iterator value="newMarriageMoveList" id='tpNewMarriage' status="number">
<tr> <td>${tpNewMarriage.womanName }</td>
<td>${tpNewMarriage.womanIdNo }</td>
<td>${tpNewMarriage.womanLivingAddrDetail } </td>
<td>${tpNewMarriage.womanRegisterAddrDetail } </td>
<td>${tpNewMarriage.manName } </td>
<td>
<a href="###" class="btn btn-link" data-toggle="modal"
onclick="showDetail('${tpNewMarriage.newMarriageCardId}')">转卡</a> </td>
</tr>
</s:iterator>
使用s:iterator标签时,定义的id为A,而该值A在后台action中同样已经被定义了。所以在s:iterator标签内部使用el表达式{A.xxx}出现了错误,该el表达式中的A对象是后台action中定义的,而不是s:iterator标签中的id