This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
So you are writing a web application the user views on a web browser, and you want to save the file locally on the user's hard disk? Is that correct?
If so, then no, you can't do that. This is a security feature that there is no easy way around (thank goodness). The only way around with Java would be to make a Signed Applet that has security permissions to save to the local file system.
Joined: Dec 26, 2008
i see. thank you very much. learn something again from javaranch