Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet to Asp Communication

 
Mr kalyan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As applet to servlet communication is possible, is there any possiblity for communication between applet to asp. The communication should be 2 way. That is applet should send data and asp should receive, when asp sends data applet should recieve it.
 
Christophe Monnet
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could do it with JavaScript between ASP and Applet.
ASP -> Applet
Your ASP could generate JavaScript functions that control the applet.
Applet -> ASP
Your applet could call JavaScript function that submit forms which ACTION are another ASP page.
Hope it helps.
 
Tim Holloway
Saloon Keeper
Posts: 18359
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ASP or JSP, applets don't know the difference - use the HttpURLRequest class to build an http request and get the response from within the applet.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic