• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Applet to Asp Communication

 
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.
 
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.
 
Saloon Keeper
Posts: 22132
151
Android Eclipse IDE Tomcat Server Redhat Java 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.
 
It's fun to be me, and still legal in 9 states! Wanna see my tiny ad?
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic