Article View: borland.public.jbuilder.java.api
Article #1859get DocumentBase() Question
From: James A. Schulz
Date: Tue, 28 Aug 2001 15:51
Date: Tue, 28 Aug 2001 15:51
12 lines
1406 bytes
1406 bytes
I downloaded the "underconstruction" applet from the Sun web-site, and I find that, while it runs fine from the web, I cannot make it work locally. The problem appears to be getDocumentBase() which, when called locally, returns something like this: "/D:/javatest/underconstruction/images/jack.gif" (Note the initial back-slash.) This causes an IO Error (the applet can't find the .gif). What can I do to make getDocumentBase() work properly both locally and on the web? thanks, James
Technical Details
Message-ID:
<3b8bbdb0_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!xmission!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,df32e0fc8e9b0fd5,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-08-28 08:55:37 PST Reply-To: "James A. Schulz" <jaschulz@wiseware.com> From: "James A. Schulz" <jaschulz@wiseware.com> Newsgroups: borland.public.jbuilder.java.api Subject: get DocumentBase() Question Date: Tue, 28 Aug 2001 10:51:20 -0500 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2479.0006 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006 NNTP-Posting-Host: 216.175.116.222 Message-ID: <3b8bbdb0_1@dnews> X-Trace: dnews 999013808 216.175.116.222 (28 Aug 2001 08:50:08 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!xmission!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews