Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Download ??

Posted on 2001-06-06
4
Medium Priority
?
200 Views
Last Modified: 2010-03-31
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 ?
0
Comment
Question by:team
  • 3
4 Comments
 
LVL 92

Expert Comment

by:objects
ID: 6162528
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).
0
 

Author Comment

by:team
ID: 6166408
Can it be done using jsp. Like the servlet passes on the data to jsp and jsp creates the file
0
 
LVL 92

Accepted Solution

by:
objects earned 300 total points
ID: 6166426
Nope, for the same resone stated earlier.
All the challenge would be taken out of writing viruses if what you wanted to do was possible :)
Sorry :-(

You could do it with a signed applet as this is considered 'trusted' code. But seems like a hassle just to avoid a dialog box.
0
 
LVL 92

Expert Comment

by:objects
ID: 6169716
Thanks for the points :)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question