• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Applet Security Exception

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Everyone ... just need a little bit of direction. I'm currently developing an applet off an existing application. I'm looking to pass a param into the applet that gives the location of a file on the server that is parsed by the applet. The applet is not touching the user's machine so everything is happening on the server. Right now, I'm getting some security exceptions when the applet tries to open the remote file. Is there a way I can access the file without having to get the applet signed?

Any help is appreciated. Thanks Brian!
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As long as the file is on the same server where the applet was served from, it should work without the applet being signed. See "HelloServerFile" in http://faq.javaranch.com/java/CodeBarnApplets for an example of how to do it.
 
reply
    Bookmark Topic Watch Topic
  • New Topic