🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#19514
From: James Rudnicki
Date: Sun, 18 Jan 1998 00:00
13 lines
895 bytes

>I have been tring to read a file in the same directory on my web site
>(its a config file for the applet that I would prefer not to be a set
>of parameters)


Try putting the files in a subdirectory of the .class source.  I believe
that the security manager considers the source path as the server address.
Anything _up_ from that path would allow the applet to crawl out of its box.

luck,
Jim
Technical Details
Message-ID: <69v02n$he48@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <69fs5n$b5b9@forums.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: "James Rudnicki" <rudnicki@best.com>
Subject: Re: reading a file into an applet from my web site
Date: 1998/01/18
Message-ID: <69v02n$he48@forums.borland.com>
X-Deja-AN: 317279063
References: <69fs5n$b5b9@forums.borland.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: None
Newsgroups: borland.public.jbuilder.java.language