"Van Dooren, Damian" wrote:
>
> I was wondering if anyone knew of a way to get around the following
> situation:
>
> We have a servlet that sends back PDFs that are stored in a database.
> Everything seems to work great but the one oddity/issue that I would like to
> solve if possible is. When someone wants to save the PDF, instead of
> viewing, it wants to save the PDF as the name of the servlet. I understand
> why this is the case, but I wonder if there is anything, perhaps in the
> content header, that I could set the actual name of the file.
>
> Any suggestions would be greatly appreciated.
>
> -----
> Damian Van Dooren
> Information Technology
> The Investment Centre
> (519) 672-4389 x718
>
I couldn't even get IE to recognize that the file I was downloading was
a PDF file from a database via servlet, but obviously I missed something
you got to work, I would love to know what that is. As for actually
saving it, I understand the problem but I haven't been able to get
anything to work that will change the MIMI settings that the browser
thinks it's reading. IE simply ingnores all of the header information as
far as I can tell, and if the URL doesn't describe your
download...bummer.
Norm Jefferies
Senior Software Engineer
Dept Of Medicine
University of California, San Francisco
http://HIVInSite.ucsf.edu