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 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. > > > > 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 spawn the right app, but is there a way to specify the name with > > which the file gets saved under? > > > > Thanks, > > -Mark > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- ~~Mark Woon~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If you're not part of the solution, you're part of the precipitate.