Is there a way to find the directory that the web server is running in?
I have a web application which recieves uploaded files, and I want them placed in a directory underneath like webapps/myapp/recievedfile.xxx
I can do this if provide the full path c:tomcat/webapps/myapp/....
but I don't want to assume that I know where
tomcat (or which ever web server is installed).
Is there an easy way to get the absolute path to the "working directory"?
-tad