Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

applet establish urlconnection gives security error ...  RSS feed

 
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am tryng to create a url connection to a page from within an applet.
broswer is netscape. sometimes it works. then suddenly it stops working, and while the applet loads i get an error
security.class error, while trying to access local disk http:// .....
the applet is embedded in a page that is in the same directory as the other page it is trying to connect to.
i have also used getDocumentBase()..
is this a problem of netscape .. it does work sometimes and then just stops ..
weird thing is when the applet gets to that prt of the code, the entire browser window gets shut off automatically ...!!!
plz help, thanks
 
I do some of my very best work in water. Like this tiny ad:
free 1 hour java lesson
https://coderanch.com/t/695988/free-hour-java-lesson
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!