File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 241
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
It's not a secret anymore!