|
-
February 10th, 1999, 08:05 AM
#1
java applet communication
how to perform interapplet communication ?
for eg:
I want to pass the employee number which I retrieved from the database using one applet to another applet for generating a query in the second applet.
-
February 27th, 1999, 05:23 PM
#2
Re: java applet communication
Hi Vinod!
The fact is that the Applets contained in the different html files
are not allowed to communicate with each other.
But we can achieve it by doing somthing like this
let say we want to communicate between applet01 & applet02.
Now u just create a new applet say applet03 class which contains
the objects of applet01 & applet02. And make all the managing things i.e.
event handing in the applet03 class sothat values from applet01 object can be
utilised for the further use or vice versa.
And last only add the class applet03.class in the final html file
which u have to show while browsing.
If u donot get satisfied with this trick
then mail me at
:[email protected]
:[email protected]
Best Lucks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|