| Author |
Array of Objects
|
peter kosmas
Ranch Hand
Joined: Aug 26, 2008
Posts: 79
|
|
Hello there
i am using Spring and JSTL and i have this problem
how do i iterate an Array of Objects with JSTL ???
This does not work ...
Can someone tell me how do i Iterate an Array of Objects ??
|
Time is relative so there is no way i can be late.
~Albert Einstein~
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56229
|
|
Please read: ItDoesntWorkIsUseless
Without know what is happening, how can anyone help?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
peter kosmas
Ranch Hand
Joined: Aug 26, 2008
Posts: 79
|
|
HAHAHAHAHAHA !!!
Ok
I just want to iterate with JSTL an Array Of Objects nothing else
i have tested the other stuff and works fine
What is wrong,is when i declare the iteration with for each
is this what code is needed when you want to iterate an array of Objects???
<c:forEach items="${quotes}" var="quo">
${quo.quote}
</c:forEach>
This is the Bean
I fill an Array of them by this method
//THis works
Now i want to iterate this Array just to see if it works
by this For Each
# <c:forEach items="${quotes}" var="quo">
# ${quo.quote}
# </c:forEach>
Is this Declared right ???
|
 |
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
check this
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56229
|
|
|
I repeat: what is happening?
|
 |
 |
|
|
subject: Array of Objects
|
|
|