🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19621

Re: reading a file into an applet from my web site

#19621
From: Greg Dickson
Date: Thu, 15 Jan 1998 00:00
34 lines
1732 bytes
Thanks Guys
I have allways had the string appended to the textArea and it is a
fully qualified URL

> |>  URL myConfigFile = new URL( getDocumentBase(), "adminCfg.txt");
> |>  textArea1.append(myConfigFile + "\n");

Andrew Bennett wrote in message <34BD06F1.7EB8C09C@borland.com>...
|Sorry to jump in, but the above error caught my eye.

The more the merrier

|
|Either there is a bug in Netscape's Java implementation, or the VM
|has determined that the applet isn't coming off of
www.netserv.net.au.
guess this is the case
maybe its cause its in a compressed JAR  I haven't tried bare class
files
It works fine in HotJava and IE4
|
|Is your code still using getDocumentBase()?  If not, fire it to
|System.out.println() to verify it's what you think it is.
|
|If you fully specified the URL, are you loading the applet off of
your
|web server via a http:// URL?

Even when I clear the cache it still fails

Stick with Hoty I guess

Greg
Technical Details
Message-ID: <69joik$d6o1@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <69fs5n$b5b9@forums.borland.com> <34BBA53A.32991AF3@corp.borland.com> <69gpsp$bnh14@forums.borland.com> <34BBFFC4.7B90FBD4@corp.borland.com> <69h2vr$btl2@forums.borland.com> <34BD06F1.7EB8C09C@borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,95f8cdf01d946206
X-Google-Attributes: gidf74b3,public
From: "Greg Dickson" <witchy@netserv.net.au>
Subject: Re: reading a file into an applet from my web site
Date: 1998/01/15
Message-ID: <69joik$d6o1@forums.borland.com>
X-Deja-AN: 316037887
Content-Transfer-Encoding: 7bit
References: <69fs5n$b5b9@forums.borland.com> <34BBA53A.32991AF3@corp.borland.com> <69gpsp$bnh14@forums.borland.com> <34BBFFC4.7B90FBD4@corp.borland.com> <69h2vr$btl2@forums.borland.com> <34BD06F1.7EB8C09C@borland.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: None
Newsgroups: borland.public.jbuilder.java.language