I tend to put the filename as pathinfo - i.e.
/myservlet/made-up-name.pdf?param1=yadda
If memory serves me, you need to change the servlet mapping to be
/myservlet/* for this to work.
HTH,
Trevor
> "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
> >
>
>