This week's book giveaway is in the Testing forum. We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line! See this thread for details.
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).]
Elisabeth Van
Ranch Hand
Joined: Feb 09, 2001
Posts: 42
posted
0
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.
Laurent Kempeneers
Greenhorn
Joined: May 21, 2001
Posts: 3
posted
0
I already answered to the same problem in the posted question "how to use Xalan with Weblogic as a web server" in the same forum. I propose you to have a look !-)
Darryl Andrew
Greenhorn
Joined: Jun 21, 2001
Posts: 12
posted
0
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?