Mathy V Arumugam wrote: > Has anyone experience a problem like below? I can't figure out why there is > a difference when running this code in a Java application vs. a Servlet. > > In Java application, code runs great, but when it runs in a servlet I have > the following error: > > org.apache.fop.apps.FOPException > at org.apache.fop.apps.XSLTInputHandler.getParser(XSLTInputHandler.java:109)
This is becoming a VFAQ. Most probably, your servlet does not have a XML parser in the classpath. Check your application server documentation how to get the Xalan.jar and Xerces.jar delivered with FOP into the classpath in effect for your servlet. There may be a number of other reasons, like misconfigurations and conflicts with other parsers, the exception message should have some characteristical details in this case (don't snip a "root cause" or "original exception", if it is available in the backtrace). J.Pietschmann --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]