You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michal Kwiatek <Mi...@cern.ch> on 2005/04/12 11:16:26 UTC
Check deployment dir programatically
Hello all,
How can I programatically check the absolute path to the deployment
direcotory (webapps/myApp directory) on the server?
request.getSession().getServletContext().getResourceAsStream(fileName)
works fine to read a file from the direcory, but I see no equivalent to
check the root deployment directory.
Thanks in advance,
Michal.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org