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
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
2 matches
Mail list logo