• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

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: 43011
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.
 
You got style baby! More than this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!