📄 tt.jsp
字号:
<%@ taglib uri="struts-logic" prefix="logic" %>
<%@ taglib uri="struts-bean" prefix="bean" %>
<%@ taglib uri="struts-html" prefix="html" %>
<%@ taglib uri="/WEB-INF/MultiPages.tld" prefix="MultiPages" %>
<%@ page contentType="text/html; charset=UTF-8" %>
<bean:size id="threadCount" name="threadListForm" property="list" />
<logic:notEqual name="threadCount" value="0">
<html>
<head>
<title>java</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="<html:rewrite page="/jivejdon.css"/>" type="text/css">
</head>
<body leftmargin="0" rightmargin="0" topmargin="0">
<bean:parameter id="tablewidth" name="tablewidth" value="155"/>
<bean:parameter id="tagID" name="tagID" value=""/>
<table width='<bean:write name="tablewidth"/>' border="1" cellpadding="0" cellspacing="0" bordercolor="#dddddd">
<tr>
<td bgcolor="#c3d9e7"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="25" align="center" bordercolor="#eeeeee">
<html:link page="/query/taggedThreadList.shtml" paramId="tagID" paramName="tagID" target="_blank">
<font color="#ffffff" ><b> <bean:write name="TITLE" /></b>
</html:link>
</td>
</tr>
<tr>
<td >
<table width="100%" cellpadding="2" bgcolor="#ffffff"><tr><td>
<bean:parameter id="count" name="count" value="8"/>
<%
String coutlength = (String)pageContext.getAttribute("count");
%>
<logic:iterate indexId="i" id="forumThread" name="threadListForm" property="list" length='<%=coutlength%>' >
<table bgcolor="#ffffff"
cellpadding="1" cellspacing="1" border="0" width="100%" style='TABLE-LAYOUT: fixed'>
<tr>
<td width="100%" style='word-WRAP: break-word'>
<html:img page="/images/dot.gif" width="18" height="18" alt="JavaEE" border="0" align="absmiddle" />
<a href="<%=request.getContextPath()%>/thread/<bean:write name="forumThread" property="threadId"/>.html"
title="<bean:write name="forumThread" property="name" />" target="_blank">
<bean:write name="forumThread" property="name" /></a>
<logic:notEmpty name="forumThread" property="state">
<span class="blackgray" >(<bean:write name="forumThread" property="state.messageCount" />)</span>
</logic:notEmpty>
</td>
</tr>
</table>
</logic:iterate>
</td></tr></table>
</td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
</logic:notEqual>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -