tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Kwiatek" <Michal.Kwia...@cern.ch>
Subject Check deployment dir programatically
Date Tue, 12 Apr 2005 09:16:26 GMT
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


Mime
View raw message