?? searchresult.jsp
字號:
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ page import="cn.com.blogonline.*"%>
<%@ page import="java.util.*"%>
<%
List searchList = (List)session.getAttribute(Constants.ARTICLE_LIST_KEY);
Article article = null;
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>搜索結果信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="StyleSheet" type="text/css" href="images/mystyle.css">
</head>
<body>
<table height="45" cellspacing="0" cellpadding="0" width="750" background="images/bk_11.jpg" border="0">
</table>
<table height="19" cellspacing="0" cellpadding="0" width="750" bgcolor="#ff0000" border="0">
<tr>
<td width="3"></td>
<td width="252"></td>
<td style="PADDING-TOP: 2px" align="middle">
<p align="center">
<b><font color="#ffffff">搜索結果顯示</font></b>
</p>
</td>
<td width="252"></td>
<td width="3"></td>
</tr>
</table>
<table height="45" cellspacing="0" cellpadding="0" width="750" background="images/bk_11.jpg" border="0">
<tbody>
<tr>
<td align="middle"></td>
</tr>
</tbody>
</table>
<table border="1" width="750" bordercolor="#FCD447">
<%if(searchList != null ){
System.out.println(searchList.size());
for(int i = 0;i < searchList.size();i++)
{
article = (Article)searchList.get(i);
%>
<tr>
<td width="99%" valign="top">
<div>
文章標題:<a href="openArticle?articleid=<%=article.getId()%>" target="_blank"><%=article.getTitle()%></a>
</div>
<div class="systemLHeight180">
<%=article.getContent()%>
<div class="author" style="width: 740; height: 19">
發表時間:
<%=article.getPubtime()%>
</div>
</div>
</td>
</tr>
<%
}
} %>
</table>
<hr style="color:orange" width="90%">
<p align="center">
<font color="#FF0000"><b>BlogOnline 版權所有</b></font>
</p>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -