Signed applet is NOT LOADING..- please help
Hello
1) I created an applet called applet1.java and put it in a jar file called test.jar.
jar cf test.jar com
2) Then i signed the jar file using the following method.
keytool -genkey -alias helllo - keypass hello
jarsigner DwContentXfer.jar hello
3) I put the file on my server and tried to access the applet using the following code
<html>
<head>
</head>
<object height="0" width="0" code="com.hello.test.applet1"></object>
<body>
<script type="text/javascript">
</script>
</body>
</html>
I keep getting the following error under SUN JVM.
load: class com.hello.test.applet1 not found.
java.lang.ClassNotFoundException:com.hello.test.applet1
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)

