Hi all,

i have made a jsp programm to access to a db.

i use
..
ResultSet rs = select.executeQuery("SELECT * FROM table");

and than
i use

while ( rs.next()) {
..
}

to extract all date of the query.
i'm at the end of the query now.

than i would now go at the head of the date(query(the query is the same)) and to do 
again this command

while ( rs.next()) {
..
}

it's possible without to do other connection .. or without to save the date in one 
array.


thanks for your help
Peter

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to