This is a known issue. There seem to be several approaches, which may depend on your particular situation. There's a full discusssion of this on the fop-dev list under the subject 'FO -> PDF works with Netscape, not with IE' which has the code for my solution (you can find it in the archives if not subscribed). I believe this is also going to be in the FAQ soon.
Please let me know if you have more questions. -Matt > -----Original Message----- > From: Sharan, Dharmendra [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 07, 2002 9:41 AM > To: [EMAIL PROTECTED] > Subject: IE reloads the PDF document generated from servlet multiple > times (2 times!) > > > Hi FOP Users, > > Has anyone come across the problem of Servlet getting > called multiple > times by IE (ver 5.5) > > I use the following to render PDF using an input source, > however I see in > log that that IE calls my servlet 2 times! > > I use the following code as in the example for embedding > fop in servlet - > -------------------------------------------------- > response.setContentType("application/pdf"); > Driver driver = new Driver(inputSource, > response.getOutputStream()); > driver.setRenderer(Driver.RENDER_PDF); > driver.run(); > -------------------------------------------------- > > Aparently I noticed that after the first time my servlet is done > processing the XSLT, IE 5.5 launches the PDF pluggin!, > The PDF pluggin again repeats the whole XSLT transform, > and only then it > display the PDF output. > > Anybody has similar experience with IE 5.5 ? any > ideas/suggestions are > appreciated. > > Thanks!, > > Dharmendra >