This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes JSP and the fly likes Can an applet communicate with any server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Can an applet communicate with any server?" Watch "Can an applet communicate with any server?" New topic
Author

Can an applet communicate with any server?

Ashish Kothari
Ranch Hand

Joined: May 16, 2003
Posts: 37
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

Joined: Mar 15, 2003
Posts: 52
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.


http://www.mcgath.com/consulting/
Ashish Kothari
Ranch Hand

Joined: May 16, 2003
Posts: 37
How can we define applet security levels?whether thru browser ?
 
Don't get me started about those stupid light bulbs.
 
subject: Can an applet communicate with any server?
 
It's not a secret anymore!