[SOLVED] JAR applet won’t load.
Hello,
I recently sign an Applet after archiving it with the Eclipse’s IDE and it worked fine when loading it from a local HTML file on the hard drive. But when I upload it to the web server, it can’t fine the Class file.
Here is the link: Code:
mzw3.com/Control/Signed/
Here is the class:
Code:
import javax.swing.*;
import java.applet.Applet;
public class VNC extends Applet {
/**
*
*/
private static final long serialVersionUID = 1L;
public void init() {
JOptionPane.showMessageDialog(null, "Hello, World!");
}
}
HTML Code:
Code:
<applet code="VNC.class" archive="VNC.jar" width="100%" height="100%"></applet>
Both the HTML and JAR file are in the same directory. Any help will be greatly appreciated!