Hi, I got that working, the error was due to earlier version of fop also incoluded in classpath, I removed that then its working fine.
How ever I am trying to get the header and footers repeating on each page.. how could I get this ? If any example code please do post that. Thanks, Kranti. On Tue, Jun 23, 2009 at 12:09 AM, Andreas Delmelle < [email protected]> wrote: > On 21 Jun 2009, at 23:59, Kranti™ K K Parisa wrote: > > I am new to FOP. and i want to create PDF files using XML and XSLT that i >> have to show XML in HTML. >> I am trying to run the sameple ExampleXML2PDF.java class. >> >> But not able to compile that due to >> >> Result res = new SAXResult(fop.getDefaultHandler()); >> >> seems fop.getDefaultHandler() doesn't exists. >> > > Which FOP version? What do you mean precisely by 'doesn't exist'? > It seems like you're forgetting to include fop.jar in the classpath when > trying to run the sample app, but I really cannot say for certain based on > the info provided... > > Regards > > Andreas > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Kranti K K Parisa M: +91 - 9391 - 438 - 738 O: +91 - 4023 - 844 - 738 ------------------------------------------------------------------ " world will be different, if...... " ------------------------------------------------------------------
