Hello,

I am trying to get the application url (path) and the docBase value that I
have provided in my <Context> tag in the server.xml file from my servlet
code.  The context that I have given is like this .. 

<Context path="/admin"  debug="9" docBase="modules/admin/public"
reloadable="true">
             <Logger className="org.apache.catalina.logger.FileLogger"
                  prefix="admin_log." suffix=".txt"
                  timestamp="true"/>
</Context>

I somehow need to ge the "path" and the "docBase" values without issuing a
Http request.  Actually, I have a servlet that perform all my application
initialization and that point, I need to get these values.

Please help.

Thanks.

Sridhar.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to