Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet servlet communication

 
Rekha
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

How does an AppletCommunicate with a servlet?

Thanks,
 
Neeraj Dheer
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, an applet can communicate with a servlet.

there is a forum in the 'Servlets' section here that has details on it.

any book on servlets will tell you how to do it.
 
Joe Ess
Bartender
Posts: 9339
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at the Java Tutorial chapter on Connecting to a URL, but remember an applet can only connect back to the host it was downloaded from.
 
Neeraj Dheer
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but remember an applet can only connect back to the host it was downloaded from.


one can make a certificate and make the applet a 'signed applet' which is capable of performing tasks 'unsigned applets' cant, like connecting to other hosts etc...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic