This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes File Download behavior is different for different type of files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "File Download behavior is different for different type of files" Watch "File Download behavior is different for different type of files" New topic
Author

File Download behavior is different for different type of files

Priti Sharma
Greenhorn

Joined: Oct 15, 2008
Posts: 15
Hi

I am using Struts 2.

In my application I have code for downloading zip file & text file. Scenario is that, when I click multiple times on a link for downloading plain text file that time only one prompt box with open/save/cancel options is opening. But when I click multiple times on link for downloading zip file that time many prompt boxes are opening. This means In case of text file only one click is allowed whereas for zip file multiple clicks are allowed.

Can somebody help on this??
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Sounds like a browser issue to me.
 
jQuery in Action, 2nd edition
 
subject: File Download behavior is different for different type of files