Hi,
Adding this to server.xml should solve your problem:
<Context path="/" docBase="/usr/local/www/data"/>
hope this helps,
Kenneth Westelinck
>From: Christoph Kukulies <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Changing DocumentRoot
>Date: Mon, 23 Apr 2001 12:49:18 +0200 (CEST)
>
>After having noticed that embedded jsp statements *could* work
>with my configuration where apache was serving http requests
>while tomcat was only doing the servlets I want to switch to tomcat
>as the sole webserver. At least here in a small intranet environment
>I think I could afford. Don't know if tomcat can sustain heavy
>load in Internet environment though and if it's fast enough
>compared to apache.
>
>Anyway, I figured out that I only had to change the port value of the
>HttpConnection Handler from 8080 to 80.
>
>But how can I change the DocumentRoot to point to /usr/locaol/www/data
>(where my apache server had it's root) while maintaining the
>servlets under $TOMCAT_HOME/webapps?
>
>Simply creating a symbolic link in the filesystem of the server
>wouldn't work, would it?
>
>
>--
>Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.