we have an applet and a servlet talking via HTTP using a URLConnection from
the applet.

when i first write an object to the URLConnection, it gets sent over the
wire to the servlet.  i then
read the return object.  when i try to write again to the servlet (using the
same URLConnection object), i get
the following error:
        java.net.ProtocolException: Cannot write output after reading input.

is there anyway to use the same URLConnection many times for doing reading
and writing?  do i have
to create a new instance of URLConnection each time for a write/read
operation?

thanks,

-steve
[EMAIL PROTECTED]

___________________________________________________________________________
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

Reply via email to