Hey!

I am just trying out signing applets, and even a simple java script won't run after signing it :\

It does run from the command line, but when I try to load it into my browser, it just doesn't work.

JavaCode:
Code:
import java.applet.Applet;
public class Secure_Connection extends Applet{
  public static void main(String[] args){
    System.out.println("hi");
	System.exit(0);
  }
}
html:
Code:
<APPLET 
  CODE = "Secure_Connection.class"
  WIDTH="10" HEIGHT="10"
  ARCHIVE = "Secure_Connection.jar"
  >
This example uses an applet.
</APPLET>
When I check the console, it doesn't print anything.
Though, when I run it from the command prompt using:

Code:
java -jar Secure_Connection.jar
It prints "hi" perfectly fine.

I compile and sign my applet using the following batch code:
Code:
javac *.java
jar cfm Secure_Connection.jar MANIFEST.txt Secure_Connection.class
keytool -genkey -alias me -keystore compstore.ks -keypass test1234 -dname "cn=jones" -storepass test1234
jarsigner -keystore compstore.ks -storepass test1234 -keypass test1234 Secure_Connection.jar me
Please tell me what I am doing wrong.