c:forEach循环问题
<tr>
<c:forEach items= "${allVideos.result} " var= "allvideo ">
<td height= "8 " align= "left " valign= "top "> <table width= "230 " border= "0 " cellpadding= "0 " cellspacing= "0 " class= "teble_main ">
<tr>
<td height= "25 " align= "center " valign= "middle "> <a href= "# " target= "_blank " class= "aredb "> ${allvideo.videoname} </a> </td>
</tr>
<tr>
<td height= "20 " align= "center " valign= "middle "> ${allvideo.enterprise} ${allvideo.conferencetime} </td>
</tr>
</table> </td>
</c:forEach> </tr>
我想弄出来两行,一行三个,现在的这个出来时一行6个,帮帮我,我不知道怎么弄
------解决方案--------------------你写的明显不对啊 html 标签是一一对应的啊
<tr> </tr> 是行
<td> </td> 是单元格
你看看自己写的啊 这不是技术问题啊 是你太粗心了哦
一行三个就是
<tr>
<td> 1 </td>
<td> 2 </td>
<td> 3 </td>
</tr>