Click to See Complete Forum and Search --> : My applet is not initialzing, why?!?!?


Moomancow
05-02-2003, 12:14 PM
Hey guys,

Ok, so I have this applet that I want to post on my website. Its a very simple applet. I have all the files on my local data directory, and all the exact same files on my web space server side directory, called data. Both of these directories include : Box.java, Ball.java, BouncingBalls.class, balls.html, where balls.html drives all classes. When I open the balls.html file in my local directory here on my computer, it works great. However, it does not work on my web space at all....

http://www.digitalonyxdesigns.com/balls.html

Why is this?? My browswer says something about applet not initalized and then something about "Failed to load applet"?? How can this be if both directories contain exactly the same class files and html file?? Any help would be greatly appreciated. Thanks!

- Moomancow

AdamGundry
05-02-2003, 12:17 PM
My browser (Mozilla 1.3) gives a 404 Page Not Found error when I access the URL above.

Adam

SeGamysa
05-02-2003, 12:18 PM
Originally posted by AdamGundry
My browser (Mozilla 1.3) gives a 404 Page Not Found error when I access the URL above.

Adam

some for me in IE

Moomancow
05-02-2003, 12:23 PM
Nevermind guys, I just put all the files and HTML file in my main directory instead of my data directory and it works now. I dont understand why, and I'd rather have it in my data directory, but oh well. Sorry to waste anyones time.

- Moomancow

khalidali63
05-02-2003, 12:26 PM
My browser 1.3

userAgent(Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312)

runs the applet fine..I wonder if he has fixed it..lol.

By the ways..Box.java Ball.java these 2 files should not be in the deployment folder.,not that they have any impact,its just not the correct thing to do.*.java files are source files,the actual files that will run are *.class files.