wood burning stoves 2.0*
The moose likes Applets and the fly likes JSP and Applet communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "JSP and Applet communication" Watch "JSP and Applet communication" New topic

JSP and Applet communication

prajal Mehta
Ranch Hand

Joined: Dec 03, 2007
Posts: 66

Is there any way my JSP or JSF can communicate with my applet.

I am running the Applet thru JSP (using jsp : plugin ) and on the same page I have few buttons which when clicked should dynamically make some changes in the applet.
For this I want the referance of the instance of the Applet which I am unable to get.

Any pointers / links to articles are appreciated.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41188
Yes, that's possible. See http://faq.javaranch.com/java/AppletsFaq#liveconnect

Ping & DNS - my free Android networking tools app
prajal Mehta
Ranch Hand

Joined: Dec 03, 2007
Posts: 66
thanks ulf
I agree. Here's the link: http://aspose.com/file-tools
subject: JSP and Applet communication
Similar Threads
Prevent timeout on parent jsp where applet resides
laoding applet in struts
Is it possible to save the data of the applet when focus is lost from it
Can anyone help me with my JSP/servlet problem?
Applets and Images!