On Wednesday 31 August 2005 21:50, Luca Passani wrote:
> people, what's the elegant way to do pagination with JSTL?
> I am using struts, my Action generates a LinkedList which a JSP page
> is supposed to visualize:
>
>   <c:forEach var="item"  items="${content_list}">
>          <c:out value="${item.name}"/><br />
>   </c:forEach>
>
>
> I'd like the JSP to recognize long lists and split it in pages, possibly
> with backward and forward navigation. I would really like to avoid
> scriptlets. BTW is pagination part of the view or is it part of the
> business logic according to struts?

You can try this tag:
http://displaytag.sourceforge.net/

regards Lorenzo

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to