Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML/XSL

Status
Not open for further replies.

lusujin

Programmer
Jan 12, 2004
3
FR
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=&quot;text/xsl&quot; href=&quot;model.xsl&quot;?>

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=&quot;model.xsl&quot; to href=&quot;C:\\mywebapp\model.xsl&quot; but it still gives an error :

Access is denied. Error processing resource 'file:///C:/mywebapp/model.xsl'.

Thanks in advance peoples.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top