Re: Retrieve results and display

2006-07-24 Thread Mark Shifman
There are several ways you can do this. What you have done is made one arraylist with all the fields serially put into it. You probably want to have each row as some kind of object and then put these objects into a list. You could your the jstl Result class which puts your result set into an ob

Retrieve results and display

2006-07-24 Thread Vaylee Mckenzie-Daniels \(VA\)
Hi I have to display results in jsp that is retrieves from the database. After I retrieve the results, I place the it in an arraylist. But I am a bit confused on how to retrieve an entire row, because I add each field to the arraylist. Eg. String name = rs.getString(1); //value = myname Arrayli