I have inter-applet communication between two applets at my JSP page. It work's OK, but when I put them into separate JAR archives they get loaded and started correctly at my JSP page, but they does't see each other (no inter-applet communication). e.g., I got the following error:
java.lang.NoClassDefFoundError: com/myadd/pak1/Applet1 at com.myadd.pak2.Applet2.updateOtherApplets(Applet2.java:392) at com.myadd.pak2.Applet2.access$500(Applet2.java:27) ...
Both applets contains updateOtherApplets method and it is very simillar. For example, here is code excerpt from Applet2, so you can see how it is implemented:
Hi, Iam also getting the same problem for interapplet communication using the JSP plugin Tag. The first Applet itself not loads and gives the error "Applet notninitialized".
I have read lot of articles related to it and found that there is no solution for this type of problem. My code is as below. I am using hidden applets in JSP plugin tags. If u found some solution, Please let me know. Thanks brajesh
<p align="center">WELCOME PAGE</p> <BR> <p align="center">Please wait while applet loads</p> <p align="center">Please allow the applet to read the System Information</p>