Win a copy of Svelte and Sapper in Action this week in the 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

problem in grant permission fo applet

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have some doubt,

In my application i am using Applet that applet load .dll file ,this is web base application i am running in tomcat.while running local machine there no trouble but while i am running different machine i get accesscontrol error runtime load library error..

i readed applet FAQ i used policy tool and policy.java and tomcat.policy
but its not working different machine.

while i run this applet where i need to put my dll file in tomcat/webapps/myapplication.


please tell suggest shortest method to grant permission
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some information about granting permissions can be found at http://faq.javaranch.com/java/HowCanAnAppletReadFilesOnTheLocalFileSystem

I don't know how to load libraries in an applet, though. They'd need to be in a publicly accessible place, e.g. the same directory where the applet lives, or even better, in the same jar file.
 
All that thinking. Doesn't it hurt? What do you think about this tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic