Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
RE: FileWriter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: FileWriter



There is a technote about signing Applets with JavaKey and MRJ from Oct.
2000 for registered Apple Developers at

http://developer.apple.com/technotes/tn/tn1175.html

Maybe you'll find more information at

http://www.suitable.com/CodeSigningLinks.shtml

or

http://www.google.com/search?hl=de&safe=off&q=applet+signing&btnG=Google-Suc
he&lr=

Good luck!

cu - mo. < ICQ#121799851 >

> -----Original Message-----
> From: email@hidden
> [mailto:email@hidden]On Behalf Of Martin Antell
> Sent: Thursday, August 30, 2001 9:59 AM
> To: email@hidden
> Subject: RE: FileWriter
>
>
> Forgive my unknowingness, but how do I sign an Applet? I don't even know
> what that means.
>
> >From: "Moritz Petersen" <email@hidden>
> >To: "Martin Antell" <email@hidden>, <email@hidden>
> >Subject: RE: FileWriter
> >Date: Thu, 30 Aug 2001 11:51:43 +0200
> >
> >You didn't say, that an Applet was supposed to write to a file.
> >Unfortunately, I don't have too much experience with Applets, so
> I am just
> >able to give you a hint: You have to sign the Applet, so that
> the Security
> >Manager allows the Applet to write.
> >
> >-mo.
> >
> > > No... this is the error message;
> > >
> > > com.apple.mrj.JManager.JMAppletSecurityExc: security.checkwrite:
> > > output.txt,
> > > /Del2/Extra saker/Program & tillbehvr/Mac OS Runtime For
> > > Java/Apple Applet
> > > Runner/output.txt
> > > at
> > > com.apple.mrj.JManager.JMAppletSecurityOld.checkWrite(JMAppletSecu
> > > rityOld.java)
> > > at java.io.FileOutputStream.<init>(FileOutputStream.java)
> > >
> > > >From: "Moritz Petersen" <email@hidden>
> > > >To: "Martin Antell" <email@hidden>,
> <email@hidden>
> > > >Subject: RE: FileWriter
> > > >Date: Thu, 30 Aug 2001 10:00:21 +0200
> > > >
> > > >Martin,
> > > >
> > > > > FileWriter outfile = new FileWriter("output.txt");
> > > > > String s = "Shit Happens";
> > > > > outfile.write(s);
> > > >
> > > >outfile.flush();
> > > >outfile.close();
> > > >
> > > >
> > > >Does it help?
> > > >
> > > >-mo.
> > > >_______________________________________________
> > > >java-dev mailing list
> > > >email@hidden
> > > >http://www.lists.apple.com/mailman/listinfo/java-dev
> > >
> > >
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at
> >http://explorer.msn.com/intl.asp
> > > _______________________________________________
> > > java-dev mailing list
> > > email@hidden
> > > http://www.lists.apple.com/mailman/listinfo/java-dev
> > >
> >
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> _______________________________________________
> java-dev mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/java-dev


References: 
 >RE: FileWriter (From: "Martin Antell" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.