• Post Reply Bookmark Topic Watch Topic
  • New Topic

getappletcontext.showdocument(url) throughing exception.

Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having a problem while developing case study namely on line shopping.
There are some 6 screens in it. I have developed each screen as an applet.
Now, in the first screen there is a button, which on click will call second applet . The path for the second applet is hardcoded in to an URL object and is loaded using getappletcontext.showdocument(url) method in the action listener for that button.
Now from the second applet I am trying to connect to the server which is also in my M/c , then it is throwing security exception saying cannot connect to the IP address which happens to be my Machine IP address.
What could be the solution for this problem.
Pls. let me know
Thanks in advance
I would appreciate if you could send answer to this e-mail: namasuresh@fiberia.com
Modified by Jahan.
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!