Article View: borland.public.jbuilder.java.language
Article #18559java.net.ProtocolException
From: Gianfranco Pietraforte
Date: Wed, 10 Jun 1998 00:00
Date: Wed, 10 Jun 1998 00:00
49 lines
2077 bytes
2077 bytes
--------------52AC7D16AA73ECF037F1C16A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi all,
I wrote an applet that displays infos received by a servlet working on a
middle-tier. The applet requests infos to the servlet using the class
URLConnection (HTTP protocol).
I used the class BufferedWriter and the class BufferedReader to
cominicate between the two.
The first time the applet requests infos everything work fine but the
second (using the same connection) I receive the following exception:
java.net.ProtocolException: connot write output after reading input
Can anybody help ?
I hope everything is clear.
Thanks
Gianfranco
--------------52AC7D16AA73ECF037F1C16A
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<HTML>
Hi all,
<P>I wrote an applet that displays infos received by a servlet working
on a middle-tier. The applet requests infos to the servlet using the class
URLConnection (HTTP protocol).
<BR>I used the class BufferedWriter and the class BufferedReader to cominicate
between the two.
<BR>The first time the applet requests infos everything work fine but the
second (using the same connection) I receive the following exception:
<P> <B> java.net.ProtocolException: connot write output
after reading input</B>
<P>Can anybody help ?
<P>I hope everything is clear.
<BR>Thanks
<BR><B><I><FONT FACE="Garamond"><FONT SIZE=+2>Gianfranco</FONT></FONT></I></B></HTML>
--------------52AC7D16AA73ECF037F1C16A--
Technical Details
Message-ID:
<357E90B8.BB955DB7@it.oracle.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,4512221056f2f2eb,start X-Google-Attributes: gidf74b3,public From: Gianfranco Pietraforte <gpietraf@it.oracle.com> Subject: java.net.ProtocolException Date: 1998/06/10 Message-ID: <357E90B8.BB955DB7@it.oracle.com> X-Deja-AN: 361363850 Content-Type: multipart/alternative; boundary="------------52AC7D16AA73ECF037F1C16A" Organization: Oracle Corporation. Redwood Shores, CA Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language