Re: Problem With Forwarding to a non-HTML file

2002-01-31 Thread Mark Woon
"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

Re: Problem With Forwarding to a non-HTML file

2002-01-30 Thread Thierry Cools
} } 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

Re: Problem With Forwarding to a non-HTML file

2002-01-30 Thread Duncan Harris
[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,

RE: Problem With Forwarding to a non-HTML file

2002-01-30 Thread Tingleff, Sam
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

Re: Problem With Forwarding to a non-HTML file

2002-01-30 Thread Mark Woon
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-H

Re: Problem With Forwarding to a non-HTML file

2002-01-30 Thread Marcus Brito
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

Re: Problem With Forwarding to a non-HTML file

2002-01-30 Thread Max Cooper
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 Wi

Problem With Forwarding to a non-HTML file

2002-01-29 Thread Mark Woon
Hi all. 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 as get.do. I've set the content-type so it'll s