Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can an applet communicate with any server?

 
Ashish Kothari
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i was asked this question in an interview.
Can an applet communicate with any server?
I think using URLConnection class applet can communicate with any server .
please help.
Ashish
 
Gary McGath
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The answer is yes -- if the applet security level has been set to allow it. However, under most browsers, the default applet security settings allow an applet to communicate only with the server from which it was downloaded.
 
Ashish Kothari
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can we define applet security levels?whether thru browser ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic