CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 1999
    Posts
    2

    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.

  2. #2
    Join Date
    Mar 1999
    Posts
    19

    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
  •  





Click Here to Expand Forum to Full Width

Featured