Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!

Jose Larico

Greenhorn
+ Follow
since Nov 25, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jose Larico

I would like to do a ITERATE in a jsp page. For this I have been using a HashMap and each element of this map contains an ArrayList. In the array list different objects are stocked. I would lilke to recuperate each ArrayList and make it de second iterate. Ex.
ArrayList liste = new ArrayList();
UnObject o1 = new UnObject();
o1.setId(1);
o1.setSubject("Some text 1");
liste.add(o);
UnObject o2 = new UnObject();
o2.setId(2);
o2.setSubject("Some text 2");
liste.add(o2);
java.util.HashMap h = new java.util.HashMap();
h.put("MyID",liste);
request.setAttribute("myIterate",h);
<logic:iterate id="ref" name="myIterate">
.....
.....
</logic:iterate>
Thank...
16 years ago