----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Fernando Salazar wrote:
> 
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
> 
> At 05:17 AM 6/7/00 +0700, you wrote:
> 
> >Hi all,
> >
> >Is there a way so my servlet can find the DocumentRoot of Apache server ?

i played around with this for awhile, then realized that my apps didn't
really need the document root, they just needed a specific place to get
their HTML from.  so i just made an initArg in the properties file:

servlet.filter.initArgs=siteRoot=/usr/local/apache/htdocs,dataRoot=/someplace/else

rw


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to