File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

JSP and Applet communication

prajal Mehta
Ranch Hand

Joined: Dec 03, 2007
Posts: 66
hi,

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.


thanks
Ulf Dittmer
Marshal

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


Ping & DNS - updated with new look and Ping home screen widget
prajal Mehta
Ranch Hand

Joined: Dec 03, 2007
Posts: 66
thanks ulf
 
Don't get me started about those stupid light bulbs.
 
subject: JSP and Applet communication
 
Similar Threads
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?
Prevent timeout on parent jsp where applet resides
Applets and Images!
laoding applet in struts