aspose file tools
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 The Software Craftsman this week in the Agile 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 ?
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Can an applet communicate with any server?