Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • 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: 42968
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic