This week's book giveaway is in the Java in General forum.
We're giving away four copies of Java by Comparison (eBook) and have Simon Harrer, Jörg Lenhard, Linus Dietz on-line!
See this thread for details.
Win a copy of Java by Comparison (eBook) this week in the Java in General 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!