%
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
%>
<%@ page import="java.util.*" %>
<%@ page import="com.ozesys.dosm.SearchField" %>
<%@ page import="com.ozesys.dosm.ResultObject" %>
<%@ page import="com.ozesys.dosm.ResultField" %>
<%
if (!sessionManager.keepAlive(credentials,getServletInfo())) {
%>
<%
}
%>
OZe Demo System - Search Page
  |
| User <%=credentials.getUser()%> Logged In |
|
|
|
|
|
|
|
<%
Hashtable mResultObjects = credentials.getmResultObjects();
int objectCount = mResultObjects.size();
long totalRowCount = credentials.getmSearchObj().getTotalSearchResults();
System.out.println("totalrowcount="+totalRowCount);
long startRow = credentials.getmSearchObj().getStartRow();
long pagingVal = credentials.getmSearchObj().getPagingVal();
String sortByVal = credentials.getmSearchObj().getSortBy();
String sortDirVal = credentials.getmSearchObj().getSortDir();
long startVal = 0;
if(totalRowCount >0){
startVal = startRow + 1;
}
if(totalRowCount > 0){
%>
There are <%=totalRowCount%>
objects that match your search.
Displaying results <%=startVal%> - <%=startRow+objectCount%>.
Description |
Type |
Download |
<%
for(int i=0;i
| <%=field6.getResultVal()%> |
<%=field5.getResultVal()%> |
<% String previewLink = mObject.getPreviewLink(); %>
(<%=fSize%>) <% if(!previewLink.equals("")){ %>
<% } %>
|
<%}//for loop%>
<%} else { %>
Oze Demo System.
<% } %>
|
|
| Copyright © 2005
OZe Storage Solutions. |