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 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?
Do not use forward, but a redirect. If you're using the <jsp:forward> tag, remember to add the "redirect=true" attribute. -- Ja ne, Pazu mailto: [EMAIL PROTECTED] Anime Gaiden: de fãs para fãs, sempre.
signature.asc
Description: This is a digitally signed message part