As per BNF syntax [1], the content disposition must start with either
the "inline" or "attachment" string. The filename need not be quoted:

example:
attachment; filename=whitepaper.pdf

[1] http://www.ietf.org/rfc/rfc2183.txt

2008/9/3 Geffrey Caruso <[EMAIL PROTECTED]>:
> Hey Everyone,
>
>
>
> Quick question concerning the Stream Reuslt
>
>
>
> I've got a result that looks something like this
>
>
>
> <result name="whitePaperDownload" type="stream">
>
>  <param name="contentType">application/pdf</param>
>
>  <param name="inputName">pdfStream</param>
>
>  <param name="contentDisposition">filename="whitepaper.pdf"</param>
>
>  <param name="bufferSize">1024</param>
>
> </result>
>
>
>
> Everything works fine until I go to save a copy of the PDF and the filename
> is ACTIONNAME.pdf.
>
>
>
> It doesn't look like the contentDisposition tag is working correctly?
> Anyone have any ideas on what I'm doing wrong.
>
>
>
> Thanks a lot.
>
>
>
> Geffrey Caruso
>
> Senior Software Engineer
>
> MobilVox, Inc
>
> http://www.mobilvox.com
>
> ( (724) 349-3339 x320
>
>

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

  • Stream Result Geffrey Caruso
    • Re: Stream Result Gabriel Belingueres

Reply via email to