Yes, I am setting it to application/pdf... Why? BTJ
On Wed, 17 Jan 2007 10:30:38 +0100 <[EMAIL PROTECTED]> wrote: > Hi > > Are you setting the content-type on the response? > > Hermod > > -----Original Message----- > From: Thorbjørn Ravn Andersen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 17, 2007 10:13 AM > To: MyFaces Discussion > Subject: Re: [ABOT] Sending pdf file from webserver to browser? > > > Bjørn T Johansen skrev den 16-01-2007 14:42: > > I have a myfaces webapp that uses a report component to generate a pdf file > > on the server. This file is > > sent to the browser and the user then get a choice of saving the file or > > opening the file, eg. in Acrobat. > > > > And I was wondering, it is possible to skip the opening og saving dialog > > and go straight to printing the > > pdf file? As far as I can tell, this isn't possible.. > I don't think so, unless you can print to the users printer from the server. >

