开发实例:JSP中实现全文检索

来源:CSDN 作者:leshui 2007-10-12 出处:pcdog.com

google  java  javascript  数据库  数据库操作  
上一页 1 2 3 4 5 下一页 

  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="100%"" 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="100%"" 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="./images/dot.gif" align = "absmiddle">


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



更多内容请看PCdog.com--Jsp 基础学习  Jsp 实例应用  Jsp 相关文章专题
上一页 1 2 3 4 5 下一页 
上一篇:JSP连接mysql数据库攻略
下一篇:用WebWork、JSP、Velocity建立注册页面