Hi,

When I use multi-level context path in tomcat, I have folders created with #
inside webapps like folder1#folder2#folder3.  The xsl files inside my web
module tries to import other xsl files in the same hierarchy like,inside
file1.xsl, I do,

<xsl:import href="file2.xsl">

but this throws an exception "java.net.MalformedURLException: no
protocol:file2.xsl".  I tried to give with protocol like,
<xsl:import
href="file:///C:\tomcat5\webapps\folder1#folder2#folder3\xsl\file2.xsl">

but it fails throwing an exception that java.io.FileNotFound Exception:
C:\tomcat5\webapps\folder1.
Can anyone guide me on this?  I am totally blocked on this.......

If the # character need to be encoded in xsl, how do I do it?  Can anyone
share a sample on this?

Thanks in Advance,
Tembug

Reply via email to