Trying to execute the sample provided at following location:
Samples\servlet\SimpleXSLTServlet
In the birds.xsl, I included another XSL say "search.xsl", the xalan
searches for that XSL in following directory:
C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\search.xsl
basically the directory from where tomcat wa started. It should look for the
xsl in context which was determined in the servlet by
Source xmlSource = new StreamSource(new URL("file", "",
ctx+"birds.xml").openStream());
|