"Tingleff, Sam" wrote:
> I've been working on this a little. You can add a header:
>
> Content-Disposition: attachment; filename=mypdf.pdf
>
> Seems to work on ie 5.5, haven't tested other browsers.
Thanks, this did the trick. Works in Netscape (Windows and Linux) as well.
-Mark
--
To unsu
}
}
catch (Exception ex) {
}
return "";
}
}
Best regards,
Thierry
- Original Message -
From: "Duncan Harris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 30, 2002 10:18 PM
Subject: Re: Problem With
[EMAIL PROTECTED] (Mark Woon) wrote:
> Sorry, I guess I should also have added that PDF files are ocassionally
> generated on the fly., in which case there's really nothing to redirect or
> forward to. Is there anything I can do in these situations?
The Inland Revenue site in the UK does this,
To: Struts Users Mailing List
Subject: Re: Problem With Forwarding to a non-HTML file
Sorry, I guess I should also have added that PDF files are ocassionally
generated on the fly., in which case there's really nothing to redirect or
forward to. Is there anything I can do in these situation
Sorry, I guess I should also have added that PDF files are ocassionally
generated on the fly., in which case there's really nothing to redirect or
forward to. Is there anything I can do in these situations?
Max Cooper wrote:
> Sending a redirect to the PDF file might work better for your situ
Em Qua, 2002-01-30 às 05:28, Mark Woon escreveu:
> I'm using an Action to figure out which document I need to serve, and
> the document could be a pdf file. The problem is that when I forward to
> a PDF file, the browser still thinks that it's on the action (get.do),
> and tries to save the file
Sending a redirect to the PDF file might work better for your situation.
-Max
- Original Message -
From: "Mark Woon" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 11:28 PM
Subject: Problem With Forwarding to a non-HTML file
> H
7 matches
Mail list logo