Hello there,
I am writing a jsp application that has to eventually read a xml file. (a report)
in my xml file, i have this header:
<?xml-stylesheet type="text/xsl" href="model.xsl"?>
For some strange reason, Tomcat keeps looking in the <CATALINA_HOME>/bin directory for this file.
It is infact in my <WEBAPPS_HOME> directory.
When I move my model.xsl file to the <CATALINA_HOME>/bin directory, everything works perfectly.
I have tried changing href="model.xsl" to href="C:\\mywebapp\model.xsl" but it still gives an error :
Access is denied. Error processing resource 'file:///C:/mywebapp/model.xsl'.
Thanks in advance peoples.
I am writing a jsp application that has to eventually read a xml file. (a report)
in my xml file, i have this header:
<?xml-stylesheet type="text/xsl" href="model.xsl"?>
For some strange reason, Tomcat keeps looking in the <CATALINA_HOME>/bin directory for this file.
It is infact in my <WEBAPPS_HOME> directory.
When I move my model.xsl file to the <CATALINA_HOME>/bin directory, everything works perfectly.
I have tried changing href="model.xsl" to href="C:\\mywebapp\model.xsl" but it still gives an error :
Access is denied. Error processing resource 'file:///C:/mywebapp/model.xsl'.
Thanks in advance peoples.