This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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
 
It's not a secret anymore!