In my project i am connecting to the database, and i am displaying results from resultset in html text fields.
stmt.executeQuery("select sno,sname from student where status='true'");
<input type="text" value=<%=sno%>>
<input type="text" value=<%=sname%>>
and i am redirecting to another page.. while i am loading again this page i am getting previous values i.e. sno and sname, here i need to get to another set of sno and sname which satisfies the above query....
Pls... Help me....
Thanks in Advance...