File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 39552
Yes, that's possible. See

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