tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Mukhin <iimu...@mail.ru>
Subject Finding out the absolute path to application (appBase)
Date Fri, 02 Oct 2009 14:59:21 GMT
Hello everybody,

if I have an instance of org.apache.catalina.core.StandardContext 
<cid:part1.01090004.00000603@mail.ru>, what is the best way two find out 
the absolute path to directory where the application is expanded (appBase)?

For instance stdctx.getAppBase() would just return "manager", where 
stdctx is "/manager" context.
Is there a method that calculates the absolute path?

Thanks for your answers
Igor

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


Mime
View raw message