alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  
<TR> <TR> <TR> </TABLE> </CENTER> <script language='JavaScript'> setTimeout('refresh()', 2000); </script> </body> </html> <% return; } else if (data.getResultsCount() == 0){ out.write(ServletResources.getString("Nothing_found", request)); } else { %> <table id='list' cellspacing='0' > <% for (int topic = 0; topic < data.getResultsCount(); topic++) { if(data.isActivityFiltering() && !data.isEnabled(topic)){ continue; } %> <tr class='list' id='r<%=topic%>'> <td class='score' align='<%=isRTL?"left":"right"%>'><%=data.getTopicScore(topic)%> <td align='<%=isRTL?"right":"left"%>' class='label' nowrap> <a id='a<%=topic%>' href="<%=data.getTopicHref(topic)%>" onmouseover="showStatus(event);return true;" onmouseout="clearStatus();return true;" onclick='parent.parent.parent.setContentToolbarTitle(this.title)' title="<%=data.getTopicTocLabel(topic)%>"><%=data.getTopicLabel(topic)%> </td> </tr> <% } %> </table> <% } %> <script language="JavaScript"> selectTopicById('<%=data.getSelectedTopicId()%>'); </script> </body> </html>

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

<%--
 Copyright (c) 2000, 2004 IBM Corporation and others.
 All rights reserved. This program and the accompanying materials 
 are made available under the terms of the Eclipse Public License v1.0
 which accompanies this distribution, and is available at
 http://www.eclipse.org/legal/epl-v10.html
 
 Contributors:
     IBM Corporation - initial API and implementation
--%>
<%@ include file="header.jsp"%>

<% 
	SearchData data = new SearchData(application, request, response);
	// After each search we preserve the scope (working set), if any
	// this need to be at the beginning, otherwise cookie is not written
	if (data.isSearchRequest())
		data.saveScope();

	WebappPreferences prefs = data.getPrefs();
%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">

<title><%=ServletResources.getString("SearchResults", request)%>

<style type="text/css">
<%@ include file="list.css"%>
</style>


<base target="ContentViewFrame">
<script language="JavaScript" src="list.js">
<script language="JavaScript">		

function refresh() 
{ 
	window.location.replace("searchView.jsp?<%=request.getQueryString()%>");
}
</script>


</head>

<body dir="<%=direction%>">

<%
if (!data.isSearchRequest()) {
	out.write(ServletResources.getString("doSearch", request));
} else if (data.getQueryExceptionMessage()!=null) {
	out.write(data.getQueryExceptionMessage());
} else if (data.isProgressRequest()) {
%>

<CENTER>
<TABLE BORDER='0'>
	<TR>
<%=ServletResources.getString("Indexing", request)%>
<DIV STYLE='width:100px;height:16px;border:1px solid ThreeDShadow;'> <DIV ID='divProgress' STYLE='width:<%=data.getIndexedPercentage()%>px;height:100%;background-color:Highlight'> </DIV> </TD>
<%=data.getIndexedPercentage()%>% <%=ServletResources.getString("complete", request)%>

<%=ServletResources.getString("IndexingPleaseWait", request)%>
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.