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
Hi all
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 as
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 situations?
Max Cooper
[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, if
) {
}
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 Forwarding to a non-HTML file
[EMAIL PROTECTED] (Mark Woon) wrote:
Sorry
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
6 matches
Mail list logo