?? mainright.jsp
字號:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<table align="center" width="543" border="0" bordercolor="#4169E1" cellspacing="0" cellpadding="0">
<tbody>
<logic:present scope="application" name="newsTypeList">
<logic:iterate id="newsType" name="newsTypeList">
<bean:define id="newstypeid" name="newsType" property="id" />
<tr>
<td align="left" bgcolor="#4169E1">
<html:link action="/newsList" paramId="newsTypeId"
paramName="newsType" paramProperty="id">
<bean:write name="newsType" property="name" />
</html:link>
</td>
<td align="right" bgcolor="#4169E1">
<html:link action="/newsList" paramId="newsTypeId"
paramName="newsType" paramProperty="id">更多...</html:link>
</td>
</tr>
<logic:present scope="request" name="newsCollection">
<logic:iterate id="newsList" name="newsCollection">
<logic:iterate id="news" name="newsList">
<bean:define id="newsType" name="news" property="newsType" />
<logic:equal value="<%=newstypeid.toString()%>" name="newsType" property="id">
<tr>
<td align="left">
<font color="red"><b>※<bean:write name="news"
property="id" />※</b></font>
<html:link action="/newsForward" paramId="newsId" paramName="news" paramProperty="id"><bean:write
name="news" property="title" /></html:link>
</td>
<td align="left">
<bean:write name="news" property="addTime" />
</td>
</tr>
</logic:equal>
</logic:iterate>
</logic:iterate>
</logic:present>
</logic:iterate>
</logic:present>
</tbody>
</table>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -