A collection?
c:for each !
.V
Vinicius Caldeira Carvalho wrote:
Hi there!
I have a collection of beans, and this collection is set to the
request. I'd like to retreive only the first object of the collection
(later on I'll iterate over it completely) How can I do this? My
Collection is a List.
I tried <c:set var="bean" value="${collection.get(0)}">
and also <c:set var="bean" value="{$collection.iterator.next}">
none of 'em seems to work. Any ideas?
Thanks all
--
RiA-SoA w/JDNC <http://www.SandraSF.com> forums
- help develop a coomunity
My blog <http://www.sandrasf.com/adminBlog>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]