harris9999
asked on
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?
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
hard to say without having the code which I assume u don't have
ASKER
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.
ASKER
There was no image in the downloaded applet when unzipped.
the image is probably on the web server.
ASKER
On my web server?
no, the web server you grabbed it from
ASKER
But it was downloaded as a zipped file, everything should have been in there should it not?
ASKER
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.
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.
ASKER
Exception in thread "Thread-7" java.lang.ArrayIndexOutOfB
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(Unkno
Not sure what that is.
It's located at: http://antrim.gaa.ie/saffron-og/issue-10/crossword/index.htm