You can always sign the applet (easier said than done).

-j

marco wrote:
>
> Hi,
> when i try to load a scene from a 3ds file using the ncsa Portfolio i
> get an exception from java.security...but the file is from an URL! :(
>
> Anyone can help me?
>
> This is the code:
>
>   URL url=null;
>    try {
>        java.net.URL codeBase = getCodeBase();
>        codeBaseString = codeBase.toString();
>        url=new URL(codeBaseString + "sfera.3ds");
>
>    } catch (Exception e) {
>        // probably running as an application, try the application
>        // code base
>        codeBaseString = "file:./";
>      }
>
>       Scene model=null;
>
>        try {
>            ModelLoader loader = new ModelLoader();
>            model = loader.load(url);
>        }
>        catch (Exception e) {
>        System.out.println("Error "+codeBaseString);
>            System.err.println(e);
>        }
>
> This is what i receive:
> java.security.AccessControlException: access denied
> (java.util.PropertyPermission *read, write)
>
> Where is the problem?
>
> Thanks in advance,
>
>                                    Marco Romano
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to