java.io.FileNotFoundException error when executing samples with Tomcat
----------------------------------------------------------------------

         Key: XALANJ-2107
         URL: http://issues.apache.org/jira/browse/XALANJ-2107
     Project: XalanJ2
        Type: Bug
  Components: Samples-Examples  
    Versions: 2.6    
 Environment: Tomcat 5.x
Xalan 2.6
    Reporter: Puneet


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());

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to