You use the pageSize
request attributes to specify the number of items per page. For example, if pageSize=10
, the results will include ten items per page.
The following JSP fragment creates a drop-down for selecting a value for the pageSize
attribute:
Page Size <dsp:select bean="${FH}.searchRequest.pageSize"> <dsp:option value="100">100</dsp:option> <c:forEach begin="5" end="35" step="5" var="pageSize"> <dsp:option value="${pageSize}"> <c:out value="${pageSize}"/> </dsp:option> </c:forEach> </dsp:select>