Below is the code for a Model class that gets called from my controller servlet. The problem is that the List<List<String>> object does not get populated with the column details. I just get a List of lists where each list is not containing the row data and is just blank. The for loop at the end just prints the blank data. Please help:
You're reusing the same List instance each time and wiping it clean. You need to create a new instance each time otherwise everyone will end up with a reference to the same List<String>, which will be empty.
raghu dubey
Ranch Hand
Joined: Jul 05, 2007
Posts: 72
posted
0
Thanks David
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.