Hi all,

I have a question which does not directly deals with fop but I hope someone
here can answer it.

I use fop in a servlet and send the generated pdf directly to the browser
(IE 5.5) without creating temporary files.
The browser starts the acrobat plugin and I see the pdf.

When I try to save the pdf the name of the servlet is shown in the
save-dialog but I want a custom filename.


I tried the following:
a) response.setHeader("Content-Disposition","inline;filename="+fileName)
   -> has no impact

b) response.setHeader("Content-Disposition", "attachment;
filename="+fileName)
   -> the pdf is opened in AcrobatReader instead of the browser.
      In the save-dialog is the correct filename, but its the wrong
application of course
      
I looked also on the MS KnowledgeBase without success.

Any ideas ?

Michael



Reply via email to