This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Servlet applet Communication

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, all my question is
How can a servlet communicate with an applet
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Googling for "applet servlet communication" yields lots of articles and example code.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Searching this forum will also bring up quite a bit of information.
This question has been asked here several times.
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"kumarbobby",
please sse the warning I posted in this thread regarding your display name.

Basically your display name is not valid and accounts with invalid display names get deleted. Please see the thread mentioned for more information.

thanks,
Dave.
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I started a thread a while back which may help you. It has source code that I created that you may freely use.
https://coderanch.com/t/360651/Servlets/java/HELP-Applet-trouble-Servlet-response


-Dan

P.S. - a little background info on that thread. I originally had trouble trying to communicate using POST method using serialized objects because the response was in EXCEL format, which the applet can not handle. So it was suggested that I use GET/CGI method. Unfortunately, this method only works if your URL string isn't too long. A further drawback is if you are passing a password as a parameter, it is visible. So I decided I must find a way to communicate using POST method, which I later found out how to do myself. This basically entails creating additional servlets that perform the additional services (see my last post in that thread). I hope this helps.
[ July 14, 2005: Message edited by: Dan Fishman ]
 
If I'd had more time, I would have written a shorter letter. -T.S. Eliot such a short, tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic