Java Policy File for development on local machine

/ Published in: Java
Save to your folder(s)

Copy this code and paste it in your HTML
  1. // filename: .java.policy
  2. // NOTE: filename starts with a period!!!
  3. // put this in your home folder ( on win this is env var USERPROFILE )
  4. grant codeBase "file:///-" { permission "*"; };
  5. grant codeBase "http://localhost/-" { permission "*"; };

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.