my dog learned polymorphism*
The moose likes Servlets and the fly likes Store a file to Hard Disk from a Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Store a file to Hard Disk from a Servlet" Watch "Store a file to Hard Disk from a Servlet" New topic
Author

Store a file to Hard Disk from a Servlet

Karthik Prabu
Ranch Hand

Joined: Dec 27, 2002
Posts: 48
Hi All,
How to store a file without popping up a Save as dialog, to the hard disk from a servlet?
Thanks
Prabu
Sudharsan Govindarajan
Ranch Hand

Joined: Jul 03, 2002
Posts: 319
Storing a file is not possible unless the user allows you to do so. You can't store anything except some cookie values (if not prevented) into a user's hard disk silently.
 
Don't get me started about those stupid light bulbs.
 
subject: Store a file to Hard Disk from a Servlet