日期:2014-05-17 浏览次数:20753 次
<s:form action="news_addNews" method="post" theme="simple"> //增加的
<table border="1" align="center"> <tr align="center"> <td> 编号 <s:hidden name="newsDetail"/> </td> <td> 主题 </td> <td align="center" colspan=4> 操作 </td> </tr> <c:forEach var="result" items="${newsList}"> <tr align="center" > <td >${result.newsId}</td> <td >${result.newsTheme}</td> <td> <s:form action="news_shNews" method="post"> <s:submit value="详细信息" /> <input type="hidden" name="newsId" value="${result.newsId}"> </s:form> </td> <td> <s:form action="news_urlNews" method="post"> <a href='${result.newsUrl}' target="_blank">链接</a> <input type="hidden" name="newsId" value="${result.newsId}"> </s:form> </td> <td> <s:form action="news_modiNews" method="post"> <s:submit value="修改" /> <input type="hidden" name="newsId" value="${result.newsId}"> </s:form> </td> <td> <s:form action="news_delNews" method="post" onsubmit="return confirmdialog()"> <s:submit value="删除" /> <input type="hidden" name="newsId" value="${result.newsId}"> </s:form> </td> </tr> </c:forEach>