Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

applet opening TCP sockets  RSS feed

 
jainrahul sethi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how could the applets communicate with the server from which it has emerged .....?? I want my applet to communicate with the Tomcat web container .... how is it possible ... wont it give rise to any security exception??
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, communicating with the server that served the applet is allowed. The standard way is probably HTTP (using an URL and an URLConnection), but applets can also use a Socket.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!