hello,
from the output of the sql query, get the resultset, such as
result. Then use a command result.next() inside a while loop and inside
the while loop write the result into the response.
If anything else mail for that.
On Wed, 8 Sep 1999, Edward Roe wrote:
> Hello
>
> I am new in this list and with servlets.
>
> After I installed JSDK 2.1 my servlet (working well in jsdk2.0) is now
> with problems in netscape (ver 4.6). The servlet makes a select in an
> Oracle database and the show the results back in netscape. I'm getting the
> folowing mes from Netscape:
>
> "The network error ocurred while netscape was receiving data
> (network error: connection reset by peer). Try connection again."
>
> The servlet is running the select (I can see the results via
> System.out.println() ) but no html back....
>
> I'm using doPost()...
>
> Thanks in advance.
>
> Edward
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html