Hi Kumar, Try enclosed fo file.. Problem was with nesting in tables and please specify table-column as these are presently required by FOP. Raju ------------- Original Message -------------- f0 fo <[EMAIL PROTECTED]> wrote: To:[EMAIL PROTECTED] From:f0 fo <[EMAIL PROTECTED]> Date:Tue, 19 Jun 2001 09:00:28 -0700 (PDT) Subject:Re: problem running FOP with servlet - (code gets executed multiple times)urgent hi Raju!! Thanks for u'r reply I'm trying to create the fo file at run time using an xml & xsl file. The template of the fo file generated attached to this file, 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/ _____________________________________________________ Buy Lagaan & Yaadein music for 30% less. Avail this special offer at http://shopping.rediff.com/shopping/music/offerrediffmailer.htm
<?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master margin-right=".5cm" margin-left=".5cm" margin-bottom="1cm" margin-top="0.5cm" master-name="first"> <fo:region-before extent="3.5cm" margin-top="0.8cm"/> <fo:region-body margin-bottom="2cm" margin-top="3.8cm"/> <fo:region-after extent="1cm" margin-top="0.5cm"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-name="first"> <fo:static-content flow-name="xsl-region-after"> <fo:block text-align="end" font-family="sans-serif" font-size="6pt"> AFE Report Page<fo:page-number/> </fo:block> </fo:static-content> <fo:static-content flow-name="xsl-region-before"> <fo:table> <fo:table-column column-width="98mm"/> <fo:table-column column-width="78mm"/> <fo:table-body> <fo:table-row> <fo:table-cell> <fo:block text-align="start"/> </fo:table-cell> <fo:table-cell> <fo:block padding-top="3pt" text-align="start" space-after.optimum="15pt" line-height="10pt" font-family="sans-serif" font-size="8pt"> <fo:table> <fo:table-column column-width="78mm"/> <fo:table-body> *********************** </fo:table-body> </fo:table> <fo:table space-after.optimum="15pt"> <fo:table-column column-width="25mm"/> <fo:table-column column-width="25mm"/> <fo:table-column column-width="8mm"/> <fo:table-column column-width="20mm"/> <fo:table-body> ************************** </fo:table-body> </fo:table> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </fo:static-content> <fo:flow flow-name="xsl-region-body"> <fo:block padding-top="5pt" text-align="center" space-before.optimum="15pt" line-height="12pt" font-family="sans-serif" font-size="8pt"> <fo:table> <fo:table-body> ************************** </fo:table-body> </fo:table></fo:block></fo:flow></fo:page-sequence></fo:root>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]