Hi All,
How to store the resultset value in a array? I have a field "prodvalue" in DB Table, now i want to store this "prodvalue" in array. Am able to print the values of "prodvale" in jsp, but not able to store in array.
Pl. find below the code, so that you can understand more easily.
rs is the resultset
while(rs.next())
{
String strprodvalue=rs.getString("prodvalue");
out.println(strprodvalue);
}
The above code displays all the prodvalues, but in want to store strprodvalue in array. How to do this??
Thanks,