User Profile
Collapse
-
Hello, IO.jar contains signed Java class with five basic methods (write, read, remove, exists and browse) for manipulating with files on local hard disc. There isn't big deal to manage this with signed applet. Everyone can do. There is plenty tutorials how to do this. But, when you want to do the same thing with JavaScript interface then you found there is plenty of problems how to manage cooperation between JavaScript and Java to works together... -
Yes, I got permission exception. But I don't care about this anymore. Finally I found solution! Watch this video here on youtube: http://www.youtube.com/watch?v=wqpwyAAhKGg...Leave a comment:
-
Saving file into local disc using Applet
Hello,
can somebody help me with saving file into local disk
using javascript? I made some sample code which
unfortunately won't work :(.
Applet sample file:
...Code:public class IO extends Applet { public void write(String path, String data) { try { File file = new File(path); DataOutputStream dos = new DataOutputStream( new BufferedOutputStream( -
Thank you for your reply.
I'm trying to open html file embedded in Java applet file. And then from this page control Java Applet itself. I think there is a logical error in my example, because of refence to JAR file in html file. But, basically what I need is to control Java Applet functions from html file with using javascript.
Originally I was trying to open html file with embedded...Leave a comment:
-
Problem with access to signed javascript file
Hello,
I'm trying to load and write file on local disc drive using signed
javascript file. But I have experienced problem running this url:
jar:http://www.domain.com/secure-scripts...!/thepage.html
(sample)
in browser (Firefox) which simply won't work. I can't access to
html file embedded in jar file. My sample applet IO.java together
with IO.html was properly signed...
No activity results to display
Show More
Leave a comment: