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
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?