File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes How to make a paging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to make a paging" Watch "How to make a paging" New topic
Author

How to make a paging

Fierens Anouck
Greenhorn

Joined: May 20, 2010
Posts: 1
I'm new to struts and i'm making a application that needs paging

but the biggest problem is that the webservice how need to give the data is nog finished yet. Zo the data comes out of beans klasse

How can I give the id's of I need with the page url

this is the code I have all ready

<pg:pager url="/Belrai/instrument/questionGroup.do?instrumentID=${instrumentId}§ionID=${sectionId}" maxIndexPages="10" maxPageItems="3">
<c:forEach var="questionGr" items="${questionGroup}">
<pg:item>
...
</pg:item>
</c:forEach>
<pg:index>
<pg:prev>
<a href="<%= pageUrl %>">[ (<%= pageNumber %>) << Previous ]</a>
</pg:prev>
<pg:pages>
<a href="<%= pageUrl %>"><%= pageNumber %></a>
</pg:pages>
<pg:next>
<a href="<%= pageUrl %>">[ Next >> (<%= pageNumber %>) ]</a>

</pg:next>
</pg:index>

</pg:pager>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to make a paging