学院首页>网络编程>JSP>JSP中实现全文检索

JSP中实现全文检索

作者: 来源: 添加时间:2006-5-21 19:21:15
window.open(locat,"new","width=550,height=500 ,scrollbars=yes")

}

</script>

</head>

<object id=hh2 classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">

<param name="Command" value="Maximize"></object>

<body bgcolor=#F5FAF3 leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<script>

hh2.Click();

</script>

<table width="621" border="0">

<tr>

<td colspan=5>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

 </font>

</td>

</tr>

<tr valign="middle">

<td width="45%" height="22">

<div align="center" class = "t_header">标 题</div>

</td>

<td width="15%" height="22">

<div align="center" class = "t_header">类 别</div>

</td>

<td width="15%" height="22">

<div align="center" class = "t_header">发 布 人</div>

</td>

<td width="25%" height="22">

<div align="center" class = "t_header">发 布 时 间</div>

</td>

</tr>

<tr bgcolor="#B7D79F" valign="middle">

<td colspan="4" height="2"></td>

</tr>

</table>

<table width="624" border="0" bordercolor="#99CCFF">

<%

String color=null;

int j=0;

if(!(news.size()==0)) {

for (int i = 0; i < news.size(); i++) {

j++;

NEWS.newsSearch.News  myNews=(NEWS.newsSearch.News)news.get(i);

if(i%2==0)

{ color="#F5FAF3"; }

else { color="#DBF7ED";   }

%>

<tr  bgcolor = "<%=color%>">

<td width="45%" height="20">

<img src="/edu/files/pic/2006-5/21/0652119211491904.gif" align = "absmiddle">

<a href="#"  onClick="open_window(<%=myNews.getContent()%>)"> <%=myNews.getTitle()%></a>

第 4 页,共 5 页 [1] [2] [3] [4] [5]
站内搜索