struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amolbehl <>
Subject Struts2 Iterator tag problem
Date Wed, 10 Sep 2008 14:43:36 GMT

Hi I am trying to display a ArrayList of lists using struts2 iterator tag.

      private void dataReady(){   
              for (int itr = 0; itr < this.HOURS; itr++) {   
                  tempList = new ArrayList();   
                  // Add all the till related data   
                  for(int tillItr = 0; tillItr < this.terminalList.size();
                  // add all overall data  
                   * Now to place this list in the list which will  
                   * render it on the screen via JSP  

Now I have tempList which is a list of int and long values and dataList
which is a list of tempLists.

I need to use the struts2 iterator tag and display it on the screen.

Is there any way of doing it?

If Iterator is not possible then is there anything else I can use?
View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message