日期:2014-05-17 浏览次数:20795 次
<c:set var="result" value="${requestScope.result}" /> <table width="100%" align="center"> <tr align="center"> <td> <c:out value="${requestScope.info_all}" /> </td> </tr> <tr align="center"> <td> <logic:present name="result"> // 如何替换成<c:if>标签? <table border="1"> <tr align="center"> <td> bbbbbbb <input type="hidden" name="news_detail" value="${row[4]}"> </td> <td> aaaa </td> <td> <td align="center" colspan=4> 操作 </td> </tr> <c:forEach items="${requestScope.result}" var="row"> <tr align="center"> <td> ${row[0]} </td> <td> ${row[1]} </td> <td> ${row[2]} </td> <td> ${row[3]} </td> <td><html:form action="AllNewsAction"> <html:submit value="详细信息" /> <input type="hidden" name="news_id" value="${row[0]}"> <input type=hidden name="method" value="showdetail"> </html:form> </td> </tr> </c:forEach> </table> </logic:present> </td> </tr> </table>