1.为applet添加证书:
keytool -genkey -keystore keystoreName -alias aliasName-validity 3650
keytool -export -keystore keystoreName -alias aliasName-file fileName
jarsigner -keystore keystoreName jarName aliasName
2.applet中调用所在jsp中的js方法:
JSObject obj = JSObject.getWindow(this);
obj.call("方法名", 参数数组);