I have a JSP page containing a Applet & it works perfectly without any error.
scenario:-
1. I have a applet named MyApplet.class inside classj/com/applet
relative to my JSP page.
2. It's not inside contain a package (means i hv not used "package"
keyword in my applet, i just put it the sub-folders)
wht i have found is if you are not using package & using
CODE="com.applet.MyApplet", the Applet is not initializing. So try to
use the following syntax.
(or) put
package com.applet; // u put ur package name in first line of ur
applet,compile it & follow ur own system of initializing the applet.
even if it's not working plz tell me whether u r using package are not?
<HTML>
<HEAD><TITLE>Applet Demo</TITLE></HEAD>
<BODY>
<APPLET code="MyApplet.class" codebase="classj/com/applet"
width="500" height="100"></APPLET>
<BODY>
</HTML>