I'm trying to use XML and XSL within a servlet to produce HTML output. From the command line, I can use
and I get the results that I want. I have tried accomplishing the same thing via a servlet (in Tomcat) using
as well as with
Either of these versions will compile, but when I access the servlet via the browser, I get the following error:
Anyone have any ideas on this? Thanks!
[ Ajith disabled smilies in this post ] [This message has been edited by Ajith Kallambella (edited May 18, 2001).]
posted 18 years ago
Just in case anyone else runs into this problem, thought I'd post the solution to the problem that I was having. What was causing problems for me was having parser.jar in my tomcat lib directory. Once I removed this, all was well. Of course what I don't know now is what the purpose of parser.jar was, or if it's actually needed if I have the xalan.jar and xerces.jar files.
Hi, i did not use a Weblogic server, i'm using tomcat. I also did not have parser.jar in my folder and xalan.jar is before xerces.jar in my classpath but i still get the following error when i access the servlet from the browser. Error: java.lang.ClassNotFoundException: org.apache.xalan.xslt.XSLTProcessorFactory Can anybody pls help?