How to find Tomcat config and log path?

2007-07-03 Thread Joe Kramer
Hello, I've been googling and searching Tomcat website and couldn't find an answer to this problem. I need to find a path to tomcat conf (and log) folders from within my servlet. I imagine there should be something like:

RE: How to find Tomcat config and log path?

2007-07-03 Thread Yifan (Eric) Jiang
Kramer [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 July 2007 4:57 p.m. To: users@tomcat.apache.org Subject: How to find Tomcat config and log path? Hello, I've been googling and searching Tomcat website and couldn't find an answer to this problem. I need to find a path to tomcat conf (and log

Re: How to find Tomcat config and log path?

2007-07-03 Thread Joe Kramer
a user environment variable), and then use System.getenv(CATALINA_HOME); to get the tomcat path. Hope this can help Cheers Eric -Original Message- From: Joe Kramer [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 July 2007 4:57 p.m. To: users@tomcat.apache.org Subject: How to find Tomcat