Re: Java Web Start
- From: Robert Larsen <robert@xxxxxxxxxxxx>
- Date: Tue, 24 Apr 2007 06:41:24 +0200
Andrew Thompson wrote:
Lew wrote:That is a little confusing for people used to Windows. In Unix/Linux
Andrew Thompson wrote:
Andrew Thompson wrote:file:/D:/projects/TellURL.javaActually the url's were correct and yours is wrong :-)
(snip RFC 1738 detail)
Interesting, but... The URL shown above, is what Java printed out when I ran the code. Are you saying Java's handling of URL's is buggy*?It's the number of slashes after the protocol colon ("file://" vs. "file:/")
that's at issue here, right?
That is part of what I find confusing, but I am also
a little unclear on whether 'home' (in Robert's example)
represents a drive. If not, how does whatever is resolving
the URL know where to start?
there is no such thing as drive letters. There is only one "drive" and
all filesystems are made available through it.
The top level directory (or root directory) is called '/' (the third '/'
in the file url) and other filesystems (partitions, hard disks, CD
drives, etc.) are mounted (made accessible) through some empty directory
usually in "/mnt" or "/media". I have my CD drive in "/media/cdrom" and
an external USB drive in "/media/usb".
In the case of "/home/robert" I am saying that "home" is a directory
that can be accessed from the top level directory ("/") and that it
includes either a file or directory called "robert" which is actually my
home directory.
For Windows the same would probably be something like:
file://c:/documents and settings/robert
.
- Follow-Ups:
- Re: Java Web Start
- From: Lew
- Re: Java Web Start
- References:
- Java Web Start
- From: Keith McCutcheon
- Re: Java Web Start
- From: Keith McCutcheon
- Re: Java Web Start
- From: Robert Larsen
- Re: Java Web Start
- From: Robert Larsen
- Re: Java Web Start
- From: Lew
- Java Web Start
- Prev by Date: Re: Java Web Start
- Next by Date: Re: Java Web Start
- Previous by thread: Re: Java Web Start
- Next by thread: Re: Java Web Start
- Index(es):
Relevant Pages
|