The point is, the file should be read into a socket-stream on the server.
Then on the other side, the client should read from this stream and get the file. Then 
the client should use the vrml97loader loader(java.io.Reader) to read from this stream.

The Problem is, what ever i do, if i set the BaseURL for the loader, he always refers 
to his own directory.

I have the file on the server, say in "http://localhost/3D/something.wrl"; .

now the serversocket should read this file and pass it to a stream.
On the other side the client opens a connection to this socket and should read from 
this stream.

Now if i use the loader(java.io.reader), even if i set the base url to 
"http://localhost/3D/"; the loader still wants to refer to a file called
something.wrl in his own directory. Because there is no such file i get a 
NullPointerException. I want to read from the stream and nothing else.

Thats my problem. Maybe i am just to stupid to do this, but would be great if someone 
could convince me of the opposite.

Thanks
Chris

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to