Johannes Becker wrote:

Hi,

thanks for the hint. I forgot the "file:///". It works now with:
userAgent.setBaseURL("file:///" + pathString);

But what are the 3 slashes for in "file:///"? Is this necessary? Will this work 
on Unix-machines?

3 slahes are necessary because a URL typically has a machine name (or IP address after the 2 slashes) In your case, you are referring to a local resource so the machine name is omitted. It should work on Unix systems too.

<snip/>

Chris




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to