This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in grant permission fo applet

 
Kaleeswaran Karuppusamy
Ranch Hand
Posts: 155
  • 0
  • 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
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic