Link to home
Start Free TrialLog in
Avatar of team
team

asked on

Download ??

I wrote a servlet which accepts a request from the html client. It then prepares a zip file at runtime and sends it back to browser. Now the browser it shows a Open it/Save to disk option (IE 5.5). I want to skip this screen programatically i.e. it should not give the option rather it should save the zip file on to the disk automatically. Can anyone please help me with this ?
Avatar of Mick Barry
Mick Barry
Flag of Australia image

No can do, if this was possible sites would be filling your disk with crap every time you visited them. On top of that it's a browser dependant thing, what the browser does with data delivered to it is out of your control.
(I am not implying your zip is crap, just explaining the reason it can't be done, ie. to protect the local machine).
Avatar of team
team

ASKER

Can it be done using jsp. Like the servlet passes on the data to jsp and jsp creates the file
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the points :)