Applets.....got a problem - class files don't load....
I think I know what the problem is - but first could you confirm that it works offline in windows but when you put it online it gives the error.
Thanks,
JP
----------
The Webmaster Promotion and Resource Center.
http://www.what-next.com
Brian Farkas posted this at 19:51 — 3rd June 1999.
They have: 1,015 posts
Joined: Apr 1999
I'm kind of thinking that this post would belong in the HTML/JavaScript help forums but I'd be glad to try to help here, too. As JP said, make sure that it works locally before you upload it. Then, after uploading, make sure that the class files are uploaded too, and that the code does not point to your hard drive.
----------
InfoStar: Web Design - Hosting - Programming
http://www.infostardesign.com
Bandit posted this at 02:41 — 4th June 1999.
They have: 30 posts
Joined: May 1999
I have some cool applets which work fine while i'm editing my page, but when next i visit the page, the class files "cannot be found".
I do not understand this, because i've even created new directories for all the files of the applet to run from, including the graphics.
das all..
----------
Keep on keeping it real.
If you believe that its ok......its ok.
Brooke posted this at 02:48 — 4th June 1999.
She has: 681 posts
Joined: Feb 1999
Hi Bandit,
I am not sure if you are creating your applets in pure html or are using an editor - but if you are using something like frontpage, then you need to make sure you are seeing all of the files in the explorer. Go to tools - web settings - advanced. There is a check box that lets you view all hidden directories. That way when you ftp you will see those and ftp them over.
If you are not using an editor, then I can't help...sorry I hope this info helps somewhat
Brooke
----------
Providing quality websites for
businesses and individuals!
Bandit posted this at 03:05 — 4th June 1999.
They have: 30 posts
Joined: May 1999
Hi Brooke
No, at the time, i wasn't using an editor, but i'll try it again, I have Arachnophilla, dunno how it'll make a diff, but i'll try what you said....
thanx!
----------
Keep on keeping it real.
If you believe that its ok......its ok.
tony97 posted this at 18:58 — 4th June 1999.
They have: 45 posts
Joined: Apr 1999
In Netscape 4.5 it shows the source. That is wierd!
Bandit posted this at 19:53 — 4th June 1999.
They have: 30 posts
Joined: May 1999
Don't worry Tony, i'm well aware of the Netscape problem, that's why i only use that server to test new html pages. When my sites were at go.com they were doing that to Netscape browsers.
just rty going here:
www.abc.nasha.com
and tell me if the source shows up then, its at a tottally different server.
----------
Keep on keeping it real.
If you believe that its ok......its ok.
Bandit posted this at 20:20 — 4th June 1999.
They have: 30 posts
Joined: May 1999
OK, first JP.
yes, it does work offline only.
when i run it from my desktop.
The thing is, as soon as i uploaded it to my filemanager, it works for the first time you view it, then the class files are not loaded afterwards.
i've checked that the code points directly to the class files in my filemanager. even by entering the WHOLE URL.
it still didn't load.
tough one this huh?
----------
Keep on keeping it real.
If you believe that its ok......its ok.
Brian Farkas posted this at 20:51 — 4th June 1999.
They have: 1,015 posts
Joined: Apr 1999
Well, yes, that is strange! Would you mind posting the URL so we can have a look? Thanks.
Brian Farkas
----------
InfoStar: Web Design - Hosting - Programming
http://www.infostardesign.com
Bandit posted this at 22:52 — 4th June 1999.
They have: 30 posts
Joined: May 1999
ok, i loaded this applet earlier, again, it worked when i previewed it, but when i saved it and tried to go there again.....nothing.
<a href="http://homepages.go.com/~nique_/water">Here</a>
try it, you'll see which class doesn't load, just add tyhe file name to the url to see if it is there. Anwater.class etc.
----------
Keep on keeping it real.
If you believe that its ok......its ok.
JP Stones posted this at 00:02 — 5th June 1999.
They have: 2,390 posts
Joined: Nov 1998
Because it works in a windows env. but not in a UNIX one I would be willing to hazard a guess at it being a lower/upper case problem as windows does not mind about differences in this dep. (explaining why it works in win) but UNIX is more picky.
Verify all your links to see if this is the case.
JP
----------
The Webmaster Promotion and Resource Center.
http://www.what-next.com
Bandit posted this at 03:26 — 5th June 1999.
They have: 30 posts
Joined: May 1999
Already tried changing it to the way it ran on my pc, didn't work, infact that was my first guess,i really thought it would work if i fixed the case problem.
problem problem problem.......
----------
Keep on keeping it real.
If you believe that its ok......its ok.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.