It's not a secret anymore!*
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
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
 
Similar Threads
declaration of pageNumber in "pg:pager" that is pager taglib
please help regarding pagination
probelm in pager tab.
Paging with TagLib pg:pager
[pages tags & jsp] - How can I make TOP and BOTTOM paging work?