This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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