• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP and Applet communication

 
prajal Mehta
Ranch Hand
Posts: 66
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, that's possible. See http://faq.javaranch.com/java/AppletsFaq#liveconnect
 
prajal Mehta
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks ulf
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!