Why don't you start by posting the actual HTML which is generated from that?
Oh, and you could also find out for yourself whether http://127.0.0.1:7070/servlet/SecureVideo.class actually points to the place where you deployed your SecureVideo class. The applet plugin code says it doesn't.
Are you able to download the class file if you enter "http://127.0.0.1:7070/servlet/SecureVideo.class" in a browser? If not, then that's where the problem is. In other words: Where is SecureVideo.class?
Ulf Dittmer wrote:Are you able to download the class file if you enter "http://127.0.0.1:7070/servlet/SecureVideo.class" in a browser? If not, then that's where the problem is. In other words: Where is SecureVideo.class?
Class files used by applets must be publicly accessible. Once you know where it is, you can go about fixing the APPLET tag so that the browser JVM can find it. A CODEBASE attribute might be helpful for that (see http://download.oracle.com/javase/1.4.2/docs/guide/misc/applet.html)
Ulf Dittmer wrote:The first step is to answer this question:
Ulf Dittmer wrote:Where is SecureVideo.class?
Class files used by applets must be publicly accessible. Once you know where it is, you can go about fixing the APPLET tag so that the browser JVM can find it. A CODEBASE attribute might be helpful for that (see http://download.oracle.com/javase/1.4.2/docs/guide/misc/applet.html)
Thanks a lot from bottom of my heart. Problem solved