On 7/28/06, Viswanath Ramineni <[EMAIL PROTECTED]> wrote:
I am using getExternalContext().getRequestContextPath(). This gives my application path. Hope nothing is wrong with this approach.
There is indeed nothing wrong with this approach. However, the original poster has asked for the "application path", not the "context path" ... by which he apparently is after the full pathname of the directory on disk where the application is deployed. That does not always exist (an app server can, for example, run a webapp straight from an unexpanded war file) ... while the context path always exists. Craig
