You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bryan McDowell <Br...@sparza.com> on 2000/12/04 11:44:51 UTC

Config ?

> Hi,
> 
> First time poster SO be gentle... hope you can help me.
> 
> My question is regarding the configuration of Tomcat.  We have a serlvet
> that is doing a transformation of an XML message using an XSL... below is
> an example...
> 
> processor.process(new XSLTInputSource("TestXML.xml"),
>                             new XSLTInputSource("TestXSL.xsl"),
>                             new XSLTResultTarget(res.getWriter()));
> 
> The problem is that for this to work the TestXML.xml and the TestXSL.xsl
> have to be located in the TOMCAT bin directory.... OR for me to pass in
> the full path....  I know about the server.xml config file and how to
> set-up "context path" to find serlvets in other directories... Is there
> some sort of configuration for this ? i.e to locate a file in another
> directory other than the TOMCAT bin ?
> 
> Thanks and Regards
> Bryan
> 
> 
>