lastupdate.jsp
来自「Jaoso新闻文章发布系统 0.9.1final 程序架构: Struts」· JSP 代码 · 共 41 行
JSP
41 行
<%@ include file = "../tiles/include.jsp"%>
<%
/**
* Top new article
* @author edgeloner
* 2004-05-24 created
*/
%>
<logic:present name="catalogs" scope="request">
<center>
<table width="100%">
<logic:iterate name="catalogs" id="item" indexId="i">
<%if(i.intValue()%2==0){%>
<tr>
<%}%>
<td valign="top">
<bean:define id="title">
<a href="viewCatalog.do?method=viewCatalog&catalogId=<bean:write name="item" property="catalogId" />" class="navlink"><bean:write name="item" property="catalog"/> [more]</a>
</bean:define>
<gui:window title="<%=title%>" prototype="boWindow" color="100%">
<table width="100%" cellspacing="3" cellpadding="0">
<nested:iterate name="item" property="articles" id="article">
<tr>
<td class="bullet"> <td>
<td><a href="viewArticle.do?method=viewArticle&id=<bean:write name="article" property="artId" />"><bean:write name="article" property="artTitle" /></a></td>
<td align="right">[<bean:write name="article" property="artCreatedate" formatKey="dateFormat.sort"/>]</td>
</tr>
</nested:iterate>
</table>
</gui:window>
</td>
<%if(i.intValue()%2!=0){%>
</tr>
<%}%>
</logic:iterate>
</table>
</center>
</logic:present>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?