File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
applet to applet communication
question for author Aaron Mudler
How applet can access database using browser ??????????
applet opening TCP sockets
Help needed!