you must write a bean that gets the records from the database.this bean must
return a vector.
then, in the jsp you must take the results that the bean returns in a vector
and within a while loop you have to store every element of the vector in a
String array and then show in the html the element of the array you want.

-----Original Message-----
From: Othmar Stehlik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 1:21 PM
To: [EMAIL PROTECTED]
Subject: Result Set and Servlet


I�m a newbie and struggle with the following problem:
I want the RestultSet to write out every database record, between two
horizontal lines, but it doest not work.
I have a method, that converts everything to HTML, and I want a for loop, to
perform this method on every Record in the table.
I tried with rs.getArray() and with array.length I tried to invoke the
methode on every record.

Are there more elegant ways to solve this problem?
Or is my way completely wrong?

Thanks in advance
Othmar

--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

===========================================================================
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

==========================================================================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