Re: [XSL-FO] Streaming generated Pdf using FOPServlet- Saving Problem
- vijay_singh wrote:
> I don't know if somebody has come across this issue. We are using FOPThis is a FAQ. IIRC the answer is to set
> Servlet and we dynamically generated PDF on fly and stream it to the
> browser. As we are not creating a output file, the generated pdf file
> takes the name of the URL in the browser window. Is there anyway to
> give a name to the file, so that when users save the generated file
> they see the proper name of the file and not the URL in the browser.
Content-Disposition: inline; filename="your-filename.pdf"
as HTTP header. Google for "Content-Disposition" for further