| Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML | ||||
|
||||
|
|
||||
| Tutorial Categories: Ajax
| Articles
| JSP
| Bioinformatics
| Database
| Free
Books |
Hibernate
| J2EE
| J2ME
| Java
| JavaScript
| JDBC
| JMS
| Linux
| MS
Technology |
PHP
| RMI
| Web-Services
| Servlets
| Struts
| UML
|
|
||||||||||||||||||||||||||||||
|
Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs |
||||||||||||||||||||||||||||||
Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.
Copyright © 2007. All rights reserved.
Current Comments
1 comments so far (post your own) View All Comments Latest 10 Comments:Hi I am trying to display a ArrayList of lists using struts2 iterator tag.
private void dataReady(){
for (int itr = 0; itr < 12; itr++)
{
tempList = new ArrayList();
for(int tillItr = 0; tillItr < this.terminalList.size(); tillItr++)
{
tempList.add(this.transactions[itr][tillItr]);
tempList.add(this.unitsSold[itr][tillItr]);
}
tempList.add(this.peakBlocks[itr]);
tempList.add(this.incCtr[itr]);
tempList.add(this.percentages[itr]);
this.dataList.add(tempList);
}
}
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?
Posted by Amol on Wednesday, 09.10.08 @ 20:22pm | #78542