This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can an applet communicate with any server?  RSS feed

 
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
Boost this thread!