<%
st = con.createStatement();
rs = st.executeQuery("select pf_nm from portfolio");
while(rs.next())
{
String arr= rs.getString(1);
out.println(arr+"\n\n");
}
%>
As shown in above code, I get multiple values in return of getString(1),but I want all of them individually. How to get them?
For example, getString(1) returns Google Facebook Apple Adobe. I want to print them individually by storing them in some manner so that each of them is accessible thereafter.