current directory in Tomcat
843838Oct 10 2005 — edited Oct 13 2005Hi,
I have a webapp on Tomcat on Linux. In one of my classes I want to read from some file, but the current direcory seems to be /root. I don't want to use an absolute path. Is there a way to change the current tomcat working directory? How to do it?
Thanks a lot for your help :)