W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1996

Applet POST --> Jigsaw echo Resource error ?

From: Rolande Kendal <kendal@interlog.com>
Date: Mon, 08 Jul 1996 19:46:34 -0400
Message-Id: <2.2.32.19960708234634.008e7048@mail.interlog.com>
To: www-jigsaw@w3.org
I'm trying to do a post method to the Jigsaw server. I have a Resource that just
echos what I post. The applet code is as follows:

        try {
            u = new URL( file );
            uc = u.openConnection();
            os = uc.getOutputStream();
 dis = new DataInputStream( uc.getInputStream() );
...

After waiting some time for something to happen, the last line above causes
an error.

My Applet reports the following:
Error: 245 java.net.SocketException: Unexpected EOF

Jigsaw dumps the following:
w3c.jigsaw.http.HTTPParserExcepion: IOError while parsing request: recv
        at w3c.jigsaw.http.HTTPParser.getRequest<HTTPParse.java>
        at w3c.jigsaw.http.Client.getNextRequest<Client.java>
        at w3c.jigsaw.http.Client.loop<Client.java>
        at w3c.jigsaw.http.Client.runConnection<Client.java>
        at w3c.jigsaw.http.Clinet.run<Client.java>
        at java.lang.Thread.run<Thread.java:294>

Can anyone suggest what may be going wrong?

Thanks...

Rolande
Received on Monday, 8 July 1996 19:48:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:25 GMT