Hi,

There's a good pager taglib at jsptags.com. I've used it in a struts app and
does the job quite well when embedded in the iterate tags.

<logic:iterate>
   <pg:item>
        Item Details
   </pg:item>
</logic:iterate>

Hope it helps,
karl

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 27 April 2001 09:29
To: [EMAIL PROTECTED]
Subject: Iterate certain number of times?




Hi.

Am wanting to iterate a certain number of times, based on a value in my form
bean, to create a set of page links for the number of pages the user can
view
(similar to at the bottom of most search engine results).

How do I do this with Struts?  Obviously I am not iterating over a
collection.
But surely it is possible - what am I missing?

Many thanks,

Dave



Reply via email to