Page 1 of 1

Java Applet

Posted: Tue Jan 30, 2007 9:16 am
by shiznatix
I have made this java applet and signed it and everything. Now I am trying to put it on my website but it cant find the class when I load it? It works fine when I put thet html file with the applet call in the same folder but when they are in different folders it does not work.

Code: Select all

<applet code="./Files/Applet/shiznatix/shiznatix.class" archive="./Files/Applet/shiznatix.jar" codebase="./Files/Applet/" width="500" height="500"></applet>
Those files exist, this I know for sure. I added the codebase thinking that might work but to no avail. The error console says it can not find the class shiznatix/shiznatix.class but when I put that html in a file in the Applet folder and run it (without the ./Files/Applet/ stuff) it works perfectly fine. How can I make it find the stupid thing?

Posted: Tue Jan 30, 2007 10:16 am
by Jenk
take off the "./"?

Posted: Tue Jan 30, 2007 10:31 am
by shiznatix
Nope, that did not work.

Posted: Tue Jan 30, 2007 12:07 pm
by shiznatix
wow of course none of the things i tried where working, i was editing the wrong file the entire freaking time. i want the last 4 hours back.