thanks for the reply... yeah... my xsl file is fine and passing xml & xsl file into XSLTInputhandler.. My servlet works fine with FOP(0.20.4 version 13-Jun-2002) and tomcat3.1
BUT throws error while I put the same context into tomcat3.2.2(as my whole application is running on tomcat3.2.2) I have wasted lot of time finding solution for this... somebody help me... regards -shekar > check out ur xsl file is correct > or > in servlet did u pass xml and xsl file into XSLTInputhandler > try out this and reply > > >From: "ssimha" <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: [EMAIL PROTECTED] > >Subject: Problem in Embedding FOP in servlet Date: Tue, 13 Aug 2002 > >15:44:19 +0530 > > > >Hi friends, > > > >I'm facing a problem in embedding FOP(0.20.4 version 13-Jun-2002) into my > >servlet... written a servlet to generate PDF file making use of XML and > >XSL > >files. It's works fine... when this servlet runs on tomcat3.1. BUT if I > >copy > >whole context to tomcat3.2.2 and above versions it's throwing following > >error... > > > >Internal Servlet Error: > > > >java.lang.NoSuchMethodError > > at org.apache.fop.apps.Driver.getParserClassName(Unknown Source) > > at org.apache.fop.svg.SVGElementMapping.setupSVG(Unknown Source) > > at org.apache.fop.svg.SVGElementMapping.addToBuilder(Unknown Source) > > at org.apache.fop.apps.Driver.addElementMapping(Unknown Source) > > at org.apache.fop.apps.Driver.addElementMapping(Unknown Source) > > at org.apache.fop.apps.Driver.setupDefaultMappings(Unknown Source) > > at org.apache.fop.apps.Driver.(Unknown Source) > > at fop.FopServlet.renderXMLViewPDF(FopServlet.java:327) > > at fop.FopServlet.doGet(FopServlet.java:168) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > at org.apache.tomcat.core.ServletWrapper.doService > >(ServletWrapper.java:405) > > at org.apache.tomcat.core.Handler.service(Handler.java:287) > > at org.apache.tomcat.core.ServletWrapper.service > >(ServletWrapper.java:372) > > at org.apache.tomcat.core.ContextManager.internalService > >(ContextManager.java:797) > > at org.apache.tomcat.core.ContextManager.service > >(ContextManager.java:743) > > at > >org.apache.tomcat.service.http.HttpConnectionHandler.processConnection > >(HttpConnectionHandler.java:213) > > at org.apache.tomcat.service.TcpWorkerThread.runIt > >(PoolTcpEndpoint.java:416) > > at org.apache.tomcat.util.ThreadPool$ControlRunnable.run > >(ThreadPool.java:501) > > at java.lang.Thread.run(Thread.java:484) > > > >All my jar related to FOP is in my own context WEB-INF/classes/lib > >directory. I hope someone can help me > >I also want to know... I'm using right version of FOP or not??? > > > >Thanks in advance... > >Shekar Simha Y. > >_____________________________________________________________________ > >Any Opinions, explicit or implied, are solely those of the author and do > >not necessarily > >represent those of Questech. This e-mail may contain confidential and/or > >privileged > >information. If you are not the intended recipient (or have received this > >e-mail in error) > >please notify the sender immediately and destroy this e-mail. Any > >unauthorized copying, > >disclosure or distribution of the material in this e-mail is strictly > >forbidden. > >_____________________________________________________________________ > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, email: [EMAIL PROTECTED] > > _________________________________________________________________ > MSN Photos is the easiest way to share and print your photos: > http://photos.msn.com/support/worldwide.aspx > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] Shekar Simha Y _____________________________________________________________________ Any Opinions, explicit or implied, are solely those of the author and do not necessarily represent those of Questech. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. _____________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]