If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

J2EE Problem with sending PDFs inline

I am attempting to build a pdf file from xml on the fly and then send this pdf file to a user of my site. I have managed to do this. However, once the pdf has loaded into the browser, if the user clicks on the "Save a Copy" button, the filename automatically given is the url of the pdf file. How can I set this to something else?

I know I could save a temp file server-side but that is not something I want to do unless absolutely necessary.