search.jsp

来自「本程序采用Struts结构开发一个小型的BBS论坛 ,论坛包括用户注册与登陆,主」· JSP 代码 · 共 55 行

JSP
55
字号
<%@ page contentType="text/html;charset=GB2312" language="java" %><%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %><html:html ><head><title></title></head><body bgColor=white><html:base /><%@ include file="include_head.jsp"%><form action="/StrutsBBS/toTopicListAction.do?action=toinsertpage&amp;search=search&amp;expression=<bean:write name='topicListForm' property='parentID'  /> " method="post" name="toTopicListForm"  >    <html:submit >发表新主题</html:submit> </form ><hr><br><logic:present name="topicList"><table cellSpacing=0 borderColorDark=#ffffff cellPadding=3 width="98%" bgColor=#e6f2e7 borderColorLight=#008000 border=1>  <tr bgColor=#90c090>    <td width="40">状态</td>    <td width="60%">主题</td>    <td width="100">作者</td>    <td width="50">点击</td>    <td width="50">回复</td>    <td width="150">发表时间</td></tr><logic:iterate   name="topicList" scope="request"  id="topicList"><tr color="green">    <td><IMG alt=开放的版面,无新贴       src="images/forum_nonews.gif"></td>    <td width="*"><html:link page ="/toTopicListAction.do?action=topicList&amp;search=search"       paramProperty="ID" paramName="topicList" paramId="expression">       <bean:write  name="topicList" property="topic"  />       </html:link></td>        <td><bean:write name="topicList" property="username"  /></td>    <td><bean:write name="topicList" property="hits"  /></td>    <td><bean:write name="topicList" property="reverts"  /></td>    <td width="350"><font size="2"><bean:write name="topicList" property="datetime"  /></font> </td></tr></logic:iterate><tr>    <td align=middle colSpan=6>        <bean:write name="topicListForm"   property="pagestr" filter="false"  />     </td></tr></table></logic:present><%@ include file="include_end.jsp"%></body></html:html >

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?