It's not a secret anymore!*
The moose likes Servlets and the fly likes issue with open/save dialog Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "issue with open/save dialog" Watch "issue with open/save dialog" New topic

issue with open/save dialog

vijay jamadade
Ranch Hand

Joined: May 12, 2008
Posts: 240
i am testing my application in IE8 for file open/save dialog box. when i first time click the document link it is showing open/save dialog without open option and just displaying download message in status bar. second time i click it gives dialog having open button.

not sure why this behaviour. i am setting headers properly even content type. but this i observe when i clear cache of browser. please help me or give me some direction to find out the root cause about this weird behaviour.

many thanks,

Regards, Vijay Jamadade.
( Nothing is Impossible.)
Koen Aerts
Ranch Hand

Joined: Feb 07, 2012
Posts: 344

What is the file type you are trying to stream back (Word doc, PDF, image, text, ...)? What content types have you used? Have you tried some different ones, such as application/octet-stream, application/download, application/x-unknown, etc.?
I agree. Here's the link:
subject: issue with open/save dialog
Similar Threads
How to avoid download open/Save dialog box?
How to avoid open/Save dialog box while downloading?
File Download Dialog
save as dialog problem
Open/Save attachments