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: 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)
  • Re: iTunes 7
    ... can be confusing. ... minor as is happening with iTunes 7 would be unlikely to. ... Show em an aqua app like firefox or unison. ... Windows version looks and works exactly like the OS X version. ...
    (comp.sys.mac.advocacy)
  • Re: Timelimited software
    ... Also look at OnGuard. ... have used, it is a little confusing, but once you understand it it works ... as the typical user won't find it worthwhile given ... > windows should not work. ...
    (borland.public.delphi.non-technical)