%-- ////////////////////////////////////////////////////////////////////// // Source File : displayTags.jsp //------------------------------------------------------------------// // Author : Ricke Dauth // Date : Jan 14, 2004 // Abstract : Displays selected properties as well as links allowing // update/delete/display details for all problemlot records. //------------------------------------------------------------------// // Revision History : // Month Day, Year : ////////////////////////////////////////////////////////////////////// --%> <%@ taglib uri="/WEB-INF/dlTagLib.tld" prefix="dl" %> <%@ taglib uri="/WEB-INF/ssTagLib.tld" prefix="ss" %> <%@ page language="java" %> <%@ page import="java.util.*" %> <%@ page import="java.lang.String.*" %> <%@ page import="com.ti.ffw.Libs.MiscLib.*" %> <% int max = 30; int noOfRows = Integer.parseInt((String)session.getAttribute("noOfRows")); String countStr = (String) request.getParameter("count"); int count; if (countStr == null) count = 0; else count = Integer.parseInt(countStr); int startindex = count * max; int endindex = startindex + max; if (endindex > noOfRows) endindex = noOfRows; pageContext.setAttribute("startindex", startindex+""); pageContext.setAttribute("endindex", endindex+""); count++; %>