servlet code ************* .. .. Driver driver = new Driver(); driver.setBaseDir(sFoFileName); driver.setRenderer("org.apache.fop.render.pdf.PDFRenderer", Version.getVersion()); driver.addElementMapping ("org.apache.fop.fo.StandardElementMapping"); driver.addElementMapping ("org.apache.fop.svg.SVGElementMapping"); driver.addElementMapping ("org.apache.fop.extensions.ExtensionElementMapping"); driver.addPropertyList ("org.apache.fop.fo.StandardPropertyListMapping"); driver.addPropertyList ("org.apache.fop.svg.SVGPropertyListMapping"); driver.addPropertyList ("org.apache.fop.extensions.ExtensionPropertyListMapping"); driver.buildFOTree (new org.apache.xerces.parsers.SAXParser(), new InputSource(sFileSystem +"/"+ sFoFileName)); driver.format(); driver.setOutputStream(response.getOutputStream()); driver.render(); .. ... Thanks, Kumar --- Raju Dave <[EMAIL PROTECTED]> wrote: > > Can u sent ur code file, > > With servlets fop works fine.. maybe problem with > specifing page sequence? > > Raju > > ------------- Original Message -------------- > f0 fo <[EMAIL PROTECTED]> wrote: > To:[EMAIL PROTECTED] > From:f0 fo <[EMAIL PROTECTED]> > Date:Tue, 19 Jun 2001 07:00:23 -0700 (PDT) > Subject:problem running FOP with servlet - (code > gets executed multiple times)urgent > > hi all!! > I'm trying to create a PDF using FOP.jar 0.17 > (version), The code works great as a application, > but > when I tried running it as servlet the code tries > to > execute multiple times..but I'm able to get the pdf > but the code gets executed multiple time.The output > in > the console is.... > *************************************** > Tue Jun 19 08:56:24 CDT 2001:<I> > <ServletContext-General> PDFGenerator: init > using renderer org.apache.fop.render.pdf.PDFRenderer > using element mapping > org.apache.fop.fo.StandardElementMapping > using element mapping > org.apache.fop.svg.SVGElementMapping > using element mapping > org.apache.fop.extensions.ExtensionElementMapping > using property list mapping > org.apache.fop.fo.StandardPropertyListMapping > using property list mapping > org.apache.fop.svg.SVGPropertyListMapping > using property list mapping > org.apache.fop.extensions.ExtensionPropertyListMapping > building formatting object tree > setting up fonts > formatting FOs into areas > [1] > rendering areas to PDF > writing out PDF > using renderer org.apache.fop.render.pdf.PDFRenderer > using element mapping > org.apache.fop.fo.StandardElementMapping > using element mapping > org.apache.fop.svg.SVGElementMapping > using element mapping > org.apache.fop.extensions.ExtensionElementMapping > using property list mapping > org.apache.fop.fo.StandardPropertyListMapping > using property list mapping > org.apache.fop.svg.SVGPropertyListMapping > using property list mapping > org.apache.fop.extensions.ExtensionPropertyListMapping > building formatting object tree > setting up fonts > formatting FOs into areas > [1] > rendering areas to PDF > writing out PDF > using renderer org.apache.fop.render.pdf.PDFRenderer > using element mapping > org.apache.fop.fo.StandardElementMapping > using element mapping > org.apache.fop.svg.SVGElementMapping > using element mapping > org.apache.fop.extensions.ExtensionElementMapping > using property list mapping > org.apache.fop.fo.StandardPropertyListMapping > using property list mapping > org.apache.fop.svg.SVGPropertyListMapping > using property list mapping > org.apache.fop.extensions.ExtensionPropertyListMapping > building formatting object tree > setting up fonts > formatting FOs into areas > [1] > rendering areas to PDF > writing out PDF > ********************************* > I tried with FopServlet with fop0.18.jar also the > same > thing happens. I would appreciate any suggestions on > this. > > Thanks, > Kumar > > > > __________________________________________________ > Do You Yahoo!? > Spot the hottest trends in music, movies, and more. > http://buzz.yahoo.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, email: > [EMAIL PROTECTED] > > > _____________________________________________________ > Buy Lagaan & Yaadein music for 30% less. > Avail this special offer at > http://shopping.rediff.com/shopping/music/offerrediffmailer.htm > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, email: > [EMAIL PROTECTED] > __________________________________________________ Do You Yahoo!? Spot the hottest trends in music, movies, and more. http://buzz.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]