Problems using <xsl:import in web app
I have a jsp that uses the apache taglib to apply an XSLT to XML stored in the request context. The applied XSLT imports another XSL doc using the <xsl:import statement. Problem I am having is that the imported xsl file cannot be found using
<xsl:import href="routesummarycontent.xsl"/>
If I look at the Tomcat 5.5 logs I can see it is looking in the following directory for the XSL.
C:\Program Files\netbeans-5.0\enterprise2\jakarta-tomcat-5.5.9\bin\routesummarycontent.xsl
I cannot understand why it is looking in the Tomcat bin folder.
and can only be located using
<xsl:import href="http://localhost:8080/aaem/xsl/routesummarycontent.xsl"/>
I have tried every permutation but to no avail.
Any help welcomed as I do need to get a resolution to this.
Thanks
|