This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can an applet communicate with any server?
 
Similar Threads
Help needed!
applet to applet communication
applet opening TCP sockets
How applet can access database using browser ??????????
question for author Aaron Mudler