Loading ...
Sorry, an error occurred while loading the content.

Re: [XSL-FO] Streaming generated Pdf using FOPServlet- Saving Problem

Expand Messages
  • J.Pietschmann
    ... This is a FAQ. IIRC the answer is to set Content-Disposition: inline; filename= your-filename.pdf as HTTP header. Google for Content-Disposition for
    Message 1 of 4 , Sep 16, 2005
    • 0 Attachment
      vijay_singh wrote:
      > I don't know if somebody has come across this issue. We are using FOP
      > 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.


      This is a FAQ. IIRC the answer is to set
      Content-Disposition: inline; filename="your-filename.pdf"
      as HTTP header. Google for "Content-Disposition" for further
      information.

      J.Pietschmann
    Your message has been successfully submitted and would be delivered to recipients shortly.