On Sat, Oct 17, 2009 at 10:27 AM, Eve Pokua <gorgeous65_at_msn.com> wrote:
> //To retrieve all bales
> public List<Baleent> findAllBales(){
> I used to use the jsp for loop to display data till I changed everything
> into display tag -
>
> <c:forEach items="${baleent}" var="baleent">
So you're clearly getting a List back, and you need to iterate over
that list to display each entry. The above really should use different
terms for the variables, though, e.g.
<c:forEach items="${allBales}" var="bale">
Whatever the "display tag" does, you still need to iterate over that
collection.
HTH,
--
Hassan Schroeder ------------------------ hassan.schroeder_at_gmail.com
twitter: @hassan