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

Re:Applet POST ....

From: Jeff Dripps <jeff@macalot.com>
Date: Tue, 9 Jul 1996 15:38:42 -0400
Message-Id: <v01540b00ae0862be1c36@[207.18.93.13]>
To: www-jigsaw@w3.org
>The following (this was wrriten by Anselm essentially) works and may
>help you:
>

(code example clipped for the sake of brevity)

>
>Mark Lubin

Thanks (Anselm & Mark) for the enlightening reverse example. Unfortunately
on mac it is giving me trouble (what else is new...). When I execute the
ReverseTest example, this is what I get back. I have replaced my .jigidx
file in WWW with a fresh copy from the original archive. Do I understand
correctly that this is an error accessing a field within the .jigidx file?
sinc, -jeff


Executing: javai -working /Apple%202110/Dev/Jigsaw -classpath ./Reverse.out
ReverseTest test
protocol = http
host = cc45.ccia.com
filename = /User/reverse
port = 9999
ref = null
[parsed]http-version=HTTP/1.0
[parsed]method=POST
[parsed]uri=/User/reverse
[raw   ]referer=http://cc45.ccia.com:9999/User/reverse
[raw   ]content-length=12
[raw   ]content-type=application/x-www-form-urlencoded
[raw   ]accept=text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
[raw   ]user-agent=Java1.0.1
java.io.IOException: ./WWW/.jigidx
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:54)
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:64)
        at
w3c.jigsaw.resources.SimpleResourceStore.getFileAt(SimpleResourceStore.java:
178)
        at
w3c.jigsaw.resources.SimpleResourceStore.getResourceBytes(SimpleResourceStor
e.java:243)
        at
w3c.jigsaw.resources.ResourceIndex.loadResource(SimpleResourceStore.java:95)
at
w3c.jigsaw.resources.SimpleResourceStore.loadResource(SimpleResourceStore.ja
va:278)
        at
w3c.jigsaw.resources.DirectoryResource.lookupStore(DirectoryResource.java:52
5)
        at
w3c.jigsaw.resources.DirectoryResource.lookup(DirectoryResource.java:536)
        at
w3c.jigsaw.resources.DirectoryResource.lookup(DirectoryResource.java:554)
        at w3c.jigsaw.resources.ContainerResource.lookup(ContainerResource.java)
        at w3c.jigsaw.http.Client.processRequest(Client.java:289)
        at w3c.jigsaw.http.Client.loop(Client.java:500)
        at w3c.jigsaw.http.Client.runConnection(Client.java:572)
        at w3c.jigsaw.http.Client.run(Client.java:555)
        at java.lang.Thread.run(Thread.java:289)
java.lang.RuntimeException: Unable to restore User in ./WWW/.jigidx
        at
w3c.jigsaw.resources.SimpleResourceStore.loadResource(SimpleResourceStore.ja
va:282)
        at
w3c.jigsaw.resources.DirectoryResource.lookupStore(DirectoryResource.java:52
5)
        at
w3c.jigsaw.resources.DirectoryResource.lookup(DirectoryResource.java:536)
        at
w3c.jigsaw.resources.DirectoryResource.lookup(DirectoryResource.java:554)
        at w3c.jigsaw.resources.ContainerResource.lookup(ContainerResource.java)
        at w3c.jigsaw.http.Client.processRequest(Client.java:289)
        at w3c.jigsaw.http.Client.loop(Client.java:500)
        at w3c.jigsaw.http.Client.runConnection(Client.java:572)
        at w3c.jigsaw.http.Client.run(Client.java:555)
        at java.lang.Thread.run(Thread.java:289)
IOException: java.net.SocketException: Unexpected EOF
Completed(0)
Received on Tuesday, 9 July 1996 15:39:15 GMT

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