Java Applet not workin on web server

Hi,
I have tried to use a java applet on a website.  A small word game.  I have downloaded it and unzipped it and it works fine on my own computer under localhost.
But when I upload it to my web server it won't work.  

Is there anything obvious that I am missing?
LVL 3
harris9999Asked:
Who is Participating?
 
objectsCommented:
hard to say, check the java console and post any errors here
0
 
harris9999Author Commented:
mmmm
Exception in thread "Thread-7" java.lang.ArrayIndexOutOfBoundsException: 0
      at KaablitzEv.Lthtl(Unknown Source)
      at KaablitzEv.zzzj(Unknown Source)
      at KaablitzEv.zzzi(Unknown Source)
      at KaablitzEv.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

Not sure what that is.
It's located at: http://antrim.gaa.ie/saffron-og/issue-10/crossword/index.htm
0
 
objectsCommented:
hard to say without having the code which I assume u don't have
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
harris9999Author Commented:
No I only have the .class files
But it works fine on http://localhost
0
 
ebertkCommented:
I tried the link above and saw a different error that seems to point to an image that might be missing.  Are there any files that were on the lcoalhost that didn't get transferred to the server.  The class files seem to be ok (applet loaded for me and started to run) but failed with a null pointer exception when trying to render an image.
0
 
harris9999Author Commented:
There was no image in the downloaded applet when unzipped.
0
 
objectsCommented:
the image is probably on the web server.
0
 
harris9999Author Commented:
On my web server?
0
 
objectsCommented:
no, the web server you grabbed it from
0
 
harris9999Author Commented:
But it was downloaded as a zipped file, everything should have been in there should it not?
0
 
harris9999Author Commented:
Got it figured out.  I'd never used that java console before and when i run it with different setting displaying everything.  There was an error when loading a .dat file.
So i was thinking maybe that is restricted on my web server.
So I logged into my hosting control panel and under MIME Types I added the .dat extension and it now works.
Thanks for pointing out the Java console for me.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.