Remember that TC is made in Java, the character "\" is illegal, to do it you
have to put "C:\\Temp", the same as String x = "\n";

Guido.

-----Original Message-----
From: Dieter Kaltenbach [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 5:33 AM
To: [EMAIL PROTECTED]
Subject: Contexts with relative and absolute DocBase?


Hi, 

how can I use relative and absolute docBase-Context-settings for
Contexts of the same Host?
Something like this doesn't work.

<Host name="localhost" appBase="webapps" debug="0" >
        <Context docBase="ROOT" path=""/>
        <Context docBase="examples" path="/examples"/>
        <Context docBase="tomcat-docs" path="/tomcat-docs"/>
        <Context docBase="webdav" path="/webdav"/>
        <Context docBase="C:\tmp" path="/mywebapp" reloadable="true"/>
</Host>

I don't want to create another host nor put my webapps to the tomcat
webapps directory but to my 
own directory tree.

Thanks, Dieter.

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to