wood burning stoves 2.0*
The moose likes Applets and the fly likes Write a file to client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Write a file to client" Watch "Write a file to client" New topic
Author

Write a file to client

ravindra maddi
Greenhorn

Joined: Oct 20, 2001
Posts: 6
Hi!
I want to write files to clients hard disk through my applet. Can any one help me with sample codes if possible.
Thanks in advance.
Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
Hi,
You need to perform two things:
Sign your applet. click here
Write code for I/O: click here
Regards,
Manfred.
[This message has been edited by Manfred Leonhardt (edited November 20, 2001).]
ravindra maddi
Greenhorn

Joined: Oct 20, 2001
Posts: 6
Thanks for the links.
It seems every user who is going to view this applet has to perform the steps required like getting a copy of certificate and creating .keystore and .policy files in his local machine.
Is there any better way than this? Can we control http - tunneling through our applet and display the content in a new browser with ms excel (for example for csv files) and leave the option to save or not to user?
[This message has been edited by ravindra maddi (edited November 20, 2001).]
[This message has been edited by ravindra maddi (edited November 20, 2001).]
 
jQuery in Action, 2nd edition
 
subject: Write a file to client