You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Glanville, Jay" <Ja...@NaturalConvergence.com> on 2004/09/03 19:59:55 UTC

How do I programmatically find the DocBase of my webapp?

Hello all,

Quick question here (I hope).  Inside of my web application, I want to
find the full, absolute file path to this application's doc base.  How
do I do this?  Basically, I want to ensure that files X, Y and Z exist
before my application starts to respond to requests.

JDG

--
Jay Glanville
Software Engineer

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org