Robert Bralic wrote:
>If I make a applet from Java program is it possible
that this applet writes something on disk from browser...
Yes, it can. But the applet needs to be trusted.
I also hear that there were problems with IE's latest
changes that would allow writing to some directories,
but not others - at the moment, the details of that are
unclear to me.
Also, to be trusted, either ..
1) the applet needs to be signed by the deployer, and
'trusted' by the user (they will get a dialog asking to
trust it or reject it..), but a code signature that works
in Sun Java, will not be recognised by the obsolete
MSVM.
2) Has to have its codebase added to a policy file hidden
inside the JRE - which is not very practical for applets,
usually.
The third option is to launch the applet using web start*,
spceifyinh a 1.2+ JRE (which should recognise the
standard code signing) and either sign it as mentioned
above, or use methods of the JNLP API to access the
files** (which does not require signed code).
e.g.'s
* <http://www.physci.org/jws/#jtest>
** <http://www.physci.org/jws/#fs>
>I have a application with graphics and I want to make,
she as applet but I don't know how to save data...??
Thanks in advance, Robert..!!
Note also that one character of '?' and '!' marks
is enough.
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.asp...neral/200706/1