• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to send a message from applet to applet ????

 
Pham Yen Phuc
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how i can to send a message from applet to applet in 2 html page difference ???
 
Dave Robbins
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume you want to send a message from an applet hosted in page 1 to another applet hosted in page 2 when the user moves from 1 to 2
I did this once using javascript
look here

http://www.rgagnon.com/javadetails/java-0172.html

as applet 1 closes I called a javascript function to set the data I wanted to pass as a form variable in page 1 which was passed to page 2
can't find the example at the moment of just how I did it

Dave
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This article discusses a few different methods of how to do this.
 
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!