| Author |
can any body tell how to add resultset in array list
|
vijayakumar durai
Ranch Hand
Joined: Aug 18, 2008
Posts: 153
|
|
hai i am using servlet and mysql can any body tell how to store resultset in array list .i have lot of records .
i have three field sno name address how can i iterate the resultset from arraylist in table format
thanks in advance
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26168
|
|
|
Create an object representing a row - those three fields. Then as you loop through the result set, create this object and add it to the list.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: can any body tell how to add resultset in array list
|
|
|