File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes problem in grant permission fo applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "problem in grant permission fo applet" Watch "problem in grant permission fo applet" New topic
Author

problem in grant permission fo applet

Kaleeswaran Karuppasamy
Ranch Hand

Joined: Jul 19, 2007
Posts: 154
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


Judge a man by his questions rather than his answers --Voltaire
SCJP 1.5 97%
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42599
    
  65
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.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in grant permission fo applet