>
> Can anyone tell me how to call one applet from another applet ? This is
> required to me because I want to design a system of multiple hiererchy
> of applets and with those applets I want to handle a backend database.
> In the front end I want to use a browser to get the parent applet.
>
Moloy,
Are all of the applets you want to call embedded in the same web page? If so,
the applet can call:
Enumeration applets = getAppletContext().getApplets();
You can then iterate through the given applets to find the one you wish to
communicate with.
All of the applets must be located on the same server. You cannot communicate
between applets that are present on different servers using this methodology,
even if they are called from the same web page.
I do not believe it is possible to communicate between applets hosted on
different servers, and still update the browser, without implementing some type
of polling (which can be expensive).
Cheers!
Carl
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html