万卷书   首页 > 电脑书籍 > JSP > 开发实例:JSP中实现全文检索
 

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%" >


<img src="./images/dot.gif" align = "absmiddle">


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

 

上一页 下一页