wood burning stoves*
The moose likes Servlets and the fly likes how to save the file in clint side in temp folder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to save the file in clint side in temp folder" Watch "how to save the file in clint side in temp folder" New topic
Author

how to save the file in clint side in temp folder

Shyam Hai
Ranch Hand

Joined: Feb 04, 2009
Posts: 68

hi,

I want do download the file from server and save in client side in temp folder.

I want to store the file without knowing the user.

Now i am using this code.


When i use this code in servlet.
its working fine but its ask location for store the file.

But i want to save the file in Temp foler without knowing user.
please help me.
how can i do.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You can't.

And it's a good thing, because if somebody's web site started writing files all over my disk without me knowing I'd be pretty angry.

You might be able to do something with an applet.
 
 
subject: how to save the file in clint side in temp folder