S
SPG
Hi,
I have a servlet application running on tomcat.
I want to write a default config file in the root directory of the
application:
tomcat
+webapps
+myapp
+myConfig.txt
If I use new File(./myConfig.txt), then the file goes to the root of tomcat.
Ither there an easy way to find out the directory of the running app?
Cheers,
Steve
I have a servlet application running on tomcat.
I want to write a default config file in the root directory of the
application:
tomcat
+webapps
+myapp
+myConfig.txt
If I use new File(./myConfig.txt), then the file goes to the root of tomcat.
Ither there an easy way to find out the directory of the running app?
Cheers,
Steve