You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Steven Nakhla <sd...@yahoo.com> on 2003/11/21 23:44:51 UTC

logic:iterate and multiple hashtables

I have a situation where I have something like this in my Java code:
 
Hashtable h = new Hashtable();
Hashtable x = new Hashtable();
Hashtable y = new Hashtable();
LinkedList l = new LinkedList();
 
h.put("1", x);
x.put("2", y);
y.put('3", l);
l.add("My string");
 
I'd like to be able to iterate through somehow to get to the final list values.  Is this possible using the <logic:iterate> tag?  If so, can someone give me an example of how I would do this?  I've tried a few different things but they never seem to work.  Thanks in advance!
 
Steve Nakhla
 
 
 
 
 


---------------------------------
Do you Yahoo!?
Free Pop-Up Blocker - Get it now