<s:iterator value="#request.photoList" id="photo" status="stu"> <td> <a href='photo/${sessionScope.username}/<s:property value="photo"/>' title="我的相册" rel="gb_imageset[photos]"> <img src='photo/${sessionScope.username}/<s:property value="photo"/>' width="100" height="120"> </a> </td> <s:if test="(#stu.index + 1) % 3 == 0"> </tr> <tr> </s:if> </s:iterator>