wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 41068
    
  43
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
 
Similar Threads
How can I get an applet to write to a client file
Applet and RMI
Need Help for RMI
JApplet System Access
java. net. Connection Exception