Re: Java Web Start



Andrew Thompson wrote:
Lew wrote:
Andrew Thompson wrote:
file:/D:/projects/TellURL.java
Actually the url's were correct and yours is wrong :-)
(snip RFC 1738 detail)
Andrew Thompson wrote:
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?

Referencing: "file:///home/robert". Only the first two slashes are part of the protocol string.

The third slash is the root "/" of the file system, so it starts at "/".

In the case of Windows, it treats "C:" as a path element. The file: URLs for that drive should look like
file:///C:/directory/.../whatever
since in Windows the "root" is imaginary and just ahead of the drive letter.

--
Lew
.



Relevant Pages

  • Re: What a horrible disappointment
    ... | 1) Excel and PowerPoint STILL have the same confusing, ... implement a nice TABBED document interface. ... Word's Modify Style dialog box (with the unintuitively ... | since Windows 3.1. ...
    (microsoft.public.outlook)
  • Re: What a horrible disappointment
    ... Excel and PowerPoint STILL have the same confusing, ... implement a nice TABBED document interface. ... Modify Style dialog box (with the unintuitively placed Modify button in ... dialog doesn't look like it's been touched since Windows 3.1. ...
    (microsoft.public.outlook)
  • Re: [RFC] Kernel version numbering scheme change
    ... It has nothing to do with age, but with the number of digits. ... 2.6.26.25-rc1 and 2.6.25.26-rc1 are obviously confusing and not old (not ... Then they merged all of them into windows 2000, ... which should take its version from the kernel, ...
    (Linux-Kernel)
  • Re: Just for a laugh...... pls read all
    ... How much was said dimwit paid? ... but NT was code versioned Windows 3.1? ... confusing. ... Once you are so confused that you can't stand, clarity will come. ...
    (microsoft.public.windowsxp.general)
  • Re: Constraining mousepointer movement
    ... > number of vertical tracks, with an object on each one. ... > drifts over across an adjacent track, ... How is it confusing when most of the other Windows apps ...
    (microsoft.public.vb.general.discussion)