Thank you all for the quick response, I got it working :-) On Tue, 2003-01-14 at 12:04, Cédric Viaud wrote: > You have to generate a specific HTTP header for this. > > Do something like : > > response.setHeader("Content-Disposition","attachment; > filename="+nameOfTheFile); > > I got this tip few days ago on this list. > > Regards, > > Cédric > > ----- Original Message ----- > From: "Felipe Schnack" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Tuesday, January 14, 2003 11:37 AM > Subject: file name > > > > I have a servlet that generates pdf files on the fly > > but when the browser opens the "save as..." dialog, the suggested > > default filename is my servlet's URL... I would like it to suggest > > another file name, how can i do that? > > > > -- > > > > Felipe Schnack > > Analista de Sistemas > > [EMAIL PROTECTED] > > Cel.: (51)91287530 > > Linux Counter #281893 > > > > Centro Universitário Ritter dos Reis > > http://www.ritterdosreis.br > > [EMAIL PROTECTED] > > Fone/Fax.: (51)32303341 > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > --
Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303341 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>