Re: network is hindering my applet
- From: "andreas kinell" <news@xxxxxxxxx>
- Date: Sun, 30 Oct 2005 01:43:41 +0200
"Redbeard" <tom.cowdery@xxxxxxxxxxx> wrote:
news:1130621597.875424.276860@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> Nope, no ideas. If you tell us what you mean by "no longer work", it
>> might be helpful. Any error messages from the Java console would be
>> great.
> They don't load the files. I get a FileNotFoundException like the one
> shown below.
> IOException: java.io.FileNotFoundException:
> http://www.district87.org/bhs/math/practice/Factor/basic.dsm
>
> In this case, basic.dsm is a text file that contains data used by the
> applet. In the example shown, the file is in the same folder as the
> applet. One of the other applets (which I wrote later) stores the
> datafiles in a subdirectory. But all of the data files are exactly
> where they were last school year when the applets were working. In
> fact, I demonstrated the applets to some colleagues from other schools
> over the summer, and they were working fine.
>
> But over the summer break our IT dept. brought in a hired gun from MS
> to help upgrade our network. He's gone, and nobody is sure what he
> might have changed that would have caused my applets to stop finding
> their data files.
>
Well, when I click on your link I get an error "page not found".
Maybe the directory just changed?
In your case, the basic.dsm is in the same directory as the applet, so why
don't you refer to the file relatively?
"./basic.dsm"
the other applets use:
"<subdirectory_name>/<filename>"
to access the file. Don't specify the whole path just for the reason that it
will be broken easily when changing the directory structure.
andreas
.
- References:
- Re: network is hindering my applet
- From: Redbeard
- Re: network is hindering my applet
- Prev by Date: Re: tictactoe
- Next by Date: Re: confused
- Previous by thread: Re: network is hindering my applet
- Next by thread: Re: network is hindering my applet
- Index(es):
Relevant Pages
|