It works perfectly! Thanks for the help Tim.
-Robert
-----Original Message-----
From: Tim Endres [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 4:39 PM
To: Orion-Interest
Cc: Johnson, Robert
Subject: Re: How to find root of web app
> Does anyone know how to programatically find the root directory of the
> current web application? I'm am trying to access a file that sits in the
> "default-web-app" directory within my servlet code.
Will getServletContext().getRealPath( "/" ) work for you?
tim.