problem running FOP with servlet - (code gets executed multiple times)urgent

2001-06-19 Thread f0 fo

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:
 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]




RE: problem running FOP with servlet - (code gets executed multiple times)urgent

2001-06-19 Thread Matt Callow

*
Your attention is drawn to the warning notice at the end of this message.
*

Are you using MSIE?  Apparently, you need to set the content length in the
response to stop this happening.

Matt

> -Original Message-
> From: f0 fo [mailto:[EMAIL PROTECTED]]
> Sent: 19 June 2001 15:00
> To: [EMAIL PROTECTED]
> 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:
>  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]
> 


**
We would ask you to treat any communication from us as confidentially as you would 
want us to treat communication from you.  If you are not an intended recipient, please 
notify [EMAIL PROTECTED] immediately. You should know that some of our 
communications may contain confidential information which it could be a criminal 
offence for you to disclose or use without authority. This e-mail is not intended nor 
should it be taken to create any legal relations, contractual or otherwise.

The Financial Services Authority 
25 The North Colonnade, Canary Wharf, London E14 5HS United Kingdom
Registered as a Limited Company in England and Wales No.1920623. Registered Office as 
above 

Switchboard: 020 7676 1000
Web Site: http://www.fsa.gov.uk
**
*

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: problem running FOP with servlet - (code gets executed multiple times)urgent

2001-06-19 Thread f0 fo

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:
>  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/
> 
>
--

Re: problem running FOP with servlet - (code gets executed multiple times)urgent

2001-06-19 Thread f0 fo

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:
>  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/


http://www.w3.org/1999/XSL/Format";>


	
	
	




	
			AFE Report   Page
	


	
	
	
	
	
	
	
	
	
	
		
			
			
			***
			
		
		





**

		
	
	
	

**

		
	


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Re: Re: problem running FOP with servlet - (code gets executed multiple times)urgent

2001-06-19 Thread Raju Dave

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:
>  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/off