Article View: borland.public.jbuilder.java.language
Article #15617Re: Java Security Exception from an Application
From: Dew Layman
Date: Fri, 14 May 1999 00:00
Date: Fri, 14 May 1999 00:00
45 lines
2168 bytes
2168 bytes
How would I sign an applet. I actually need to get this done to access the PrintJob method from the sandbox. Can you tell me how to get the applet signed to not throw the SecurityException? Thanks, Dew Dillan Fernando wrote in message <7gsf2i$chu1@forums.borland.com>... >Hi Omer, > >Thanks for the reply. the following is the exception log. There is nothing >in it actually, only that it's a security exception > >java.lang.SecurityException > at java.lang.SecurityManager.checkDelete(SecurityManager.java:495) > at java.io.File.delete(File.java:618) > at PantherBrowser.PantherCommand.removeForm(PantherCommand.java:601) > at >PantherBrowser.PantherCommand.actOnCommand(PantherCommand.java:278) > at >PantherBrowser.PantherCommandSet.executeCommand(PantherCommandSet.java:215) > at PantherBrowser.CommandResolver.<init>(CommandResolver.java:42) > at PantherBrowser.Resolver.run(Resolver.java:37) > at PantherBrowser.Resolver.main(Resolver.java:138) > > >Kind Regards > >Dillan Fernando > >Omer Azhar Qureshi wrote in message <7grtu5$c123@forums.borland.com>... >>Dillan, >>it might be some help if u post the execution log or the code fragment >which >>is producing the exception.... >>the "file.delete ();" dose delete the file in an application if "file" is >an >>instatnce of the class File and is attachect to a proper file.... >>regards >>Oaq >> >> > >
Technical Details
Message-ID:
<7hj51o$gla$1@ash.prod.itd.earthlink.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7gql8v$an55@forums.borland.com> <7grtu5$c123@forums.borland.com> <7gsf2i$chu1@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,79d61392d024742 X-Google-Attributes: gidf74b3,public From: "Dew Layman" <Dewey_Layman@Computer-Science.net> Subject: Re: Java Security Exception from an Application Date: 1999/05/14 Message-ID: <7hj51o$gla$1@ash.prod.itd.earthlink.net> X-Deja-AN: 478090302 References: <7gql8v$an55@forums.borland.com> <7grtu5$c123@forums.borland.com> <7gsf2i$chu1@forums.borland.com> X-Posted-Path-Was: not-for-mail X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-ELN-Date: 15 May 1999 06:43:04 GMT X-ELN-Insert-Date: Fri May 14 23:45:14 1999 Organization: EarthLink Network, Inc. Newsgroups: borland.public.jbuilder.java.language