Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

applet establish urlconnection gives security error ...

 
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
 
    Bookmark Topic Watch Topic
  • New Topic