You need to set a response header in the servlet for the filename to return
to the browswer.

-----Original Message-----
From: Sameer Pokarna [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 6:56 AM
To: [EMAIL PROTECTED]
Subject: Default filename for saving PDF from browser.



Hi,

I am trying to create the PDF in a servlet and send it to the browser.
The browser can see the PDF. When user tried to SAVE this PDF, the default
name appears to be the whole link that was used to access the PDF.

In 4.0, the default name is *.pdf, in 5.0, it is the whole GET request link.

Is there any way in FOP to set the default filename?

Any help would be appreciated,
Thanks,
Sameer Pokarna


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to