Why not do this?
<%
while(rs.next()){
out.println(sname);
%>
<HR>
<%
}
%>
---- Original Message ----
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED],
Subject: RE: Offtopic:Again ResultSet
Date: Fri, 31 Aug 2001 16:41:43 +0200
>Hi
>
>I�m stil struggling with the Result Set Problem I posted some days
>ago:
>
>I select every entry from the database, and with :
>while(rs.next()){
> out.println(sname);
>}
>
>I pritn out every entry:
>So all entries appear in one line, I want them to be printed out one
>by one,
>with a <HR> between them.
>(Everything works together with a sevlet)#
>
>I tried to store them in a vector, and perform a method on every
>entry with
>a for loop.
>But nothing works,
>Any help is realy appreciated, cause I work on this trivial problem
>for a
>long time.
>
>
>--
>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