see my query is like this
(select studentname from student where studentid='+studentid+')
then i display in jsp like this
st_16 //studentid
.nikki //student names
.nani //student names
now second time when i add select student id st_17
now jsp i have display like
st_16
.nikki
.nani //first id's name + second id name's
st_17
.kutti
.abhi
if i add third id
i have to get all 3 id's with its corresponding name's
can anyone tell me how to write code
in while (rs.next())