aspose file tools*
The moose likes Applets and the fly likes policy file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "policy file" Watch "policy file" New topic
Author

policy file

jayashri hosur
Greenhorn

Joined: Jun 05, 2008
Posts: 8
coping folder with subfolder and files from one location to other i did this using applet but i want to run this using jboss server but i am getting access denied error i included the policy file as below but still getting access denied error please help me
grant {
permission java.io.FilePermission "<<ALL FILES>>","write" "read";

permission java.security.AllPermission "", "";
};
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42944
    
  68
What do you mean by "include" - where is this policy file? How are you telling JBoss to use it?
jayashri hosur
Greenhorn

Joined: Jun 05, 2008
Posts: 8
i kept that policy file in my home directory.
i am doing web application using jsf ,there when i type url like http://localhost:8080//webapplication/applet.html i am not able to get the gui corresponding to that applet .i am embedding this applet in html
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"srusti",
Please check your private messages.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"srusti",
Welcome to JavaRanch!

We're pleased to have you here with us here on the ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious. Initials are OK for the first and middle names but not the last. You can change it here
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42944
    
  68
I'm just noticing that you have missed out policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.

As to your question, you need to install that policy file system wide. See here for how that's done.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: policy file