run applet in web application

后端 未结 3 544
悲&欢浪女
悲&欢浪女 2020-12-10 06:29

I want to run simple applet in my web application using html applet tag but it gives error like

java.lang.ClassNotFoundException: MyApplet

please, give me

3条回答
  •  既然无缘
    2020-12-10 07:29

    Check 2 things. 1. the codebase is correct. To check that it is correctly written compose full URL (URL of your page + codebase) and try it directly in browser. Be sure that it is correct.

    1. The class name is written correctly. It must be fully qualified class name (including package name)

    If it does not work, post your tag here

提交回复
热议问题