• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sockets & URLConnections in Applets

 
maateen
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
niether sockets are allowed to make a connection on client side VM in Browser nor URLConnecetion can be established through Applets....
can any one help me out in setting security level of java Applets so that Applet can connect through URLConnection to Server running on Remote Computer.
 
Stephanie Grasson
Ranch Hand
Posts: 347
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maateen,
I'm not sure I understand your question. Applets can connect to the remote server from which they were launched. See this section of the Java Tutorial for a good explanation of both sockets and URLs:
http://java.sun.com/docs/books/tutorial/networking/index.html
Also, please be sure to register with a proper name.
"maateen" does not follow the conventions.
See here for details: http://www.javaranch.com/name.jsp
If you do not register properly, your account will be disabled.
I see that you have contributed other posts and we value your contribution, so I would hate to see your account be disabled.
Thank you.
Stephanie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic