tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand B N <>
Subject User of "catalina.home" property
Date Thu, 06 Sep 2001 06:10:36 GMT
Can we rely on the fact that catalina.home property will always return a 
valid path(either ".." a.k.a. parent or an absolute path) abd write 
components that will run for Tomcat only based on that property.

Currently I do the following:-

         FileInputStream in ;
         File catalinaHome = new  File(System.getProperty("catalina.home"));
         handlerMap = new HashMap();

           Load request mapping File descriptor
         in = new 

I works fine so far but justo find out if it can be relied upon.


View raw message