hi, > Anyway, have you ever tried to set the PDF contentent as a servlet HTTP > response? And if, can you directly open it? yes, i'm setting Content-Type, Content-Disposition with the filename(or inline) and the correct length:
res.setContentType("application/pdf"); res.setHeader("Content-Disposition","attachment; filename=\"xyz.pdf\""); res.setContentLength(); - watch out if your size is really equal to the generated output ... some servletengines add chars (eg. \n) but this does not keep explorer from asking me again and again, if i want to save it :-( anybody any hints? randolph > > hello everybody! > > > > this is a pdf and no itext specific question, but probably someone knows > > the trick... > > > > i'm openening itext generated pdfs from a servlet ... and i want acrobat > > reader to show up without a "save as file" dialog. unfortunaltely even if > > i deselect "allways ask for this type of file", the dialog shows up again. > > is there some kind of registry-entry to stop this? > > > > regards > > > > randolph > > > > ----------------------------------------------------------------------- > > di randolph kepplinger, mba > > [EMAIL PROTECTED] / 0676-4071103 > > > > metamagix - better online solutions > > favoritenstrasse 19 / 1040 wien / +43.1.9902804 > > buero: hackengasse 27 / 1150 wien / +43.1.9902804 > > http://www.metamagix.net > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > > at the same time. Free trial click > here:http://www.vmware.com/wl/offer/358/0 > > _______________________________________________ > > iText-questions mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions