e.org
Subject: Re: Obtain catalina-home variable
Thanks a lot.
Konstantin Kolinko wrote:
>
> Yes, it is OK for all operating systems.
>
>
> 2008/5/29 maux <[EMAIL PROTECTED]>:
>>
>> Hi Konstantin,
>>
>> That´s exactly what i wanted. But if I used
>&g
Thanks a lot.
Konstantin Kolinko wrote:
>
> Yes, it is OK for all operating systems.
>
>
> 2008/5/29 maux <[EMAIL PROTECTED]>:
>>
>> Hi Konstantin,
>>
>> That´s exactly what i wanted. But if I used
>> "System.getProperty("catalina.home")", that is ok for windows and for
>> linux
>> Tomcat inst
Yes, it is OK for all operating systems.
2008/5/29 maux <[EMAIL PROTECTED]>:
>
> Hi Konstantin,
>
> That´s exactly what i wanted. But if I used
> "System.getProperty("catalina.home")", that is ok for windows and for linux
> Tomcat installation or is it only valid for windows?
>
> Thank you very m
Hi Konstantin,
That´s exactly what i wanted. But if I used
"System.getProperty("catalina.home")", that is ok for windows and for linux
Tomcat installation or is it only valid for windows?
Thank you very much.
Konstantin Kolinko wrote:
>
> The answer is correct as a direct match to the questio
The answer is correct as a direct match to the question, but I would
recommend using the following code instead:
System.getProperty("catalina.home")
System.getProperty("catalina.base")
The catalina.bat / catalina.sh script passes values of CATALINA_*
environment variables as system properties, w
Thanks for your help, Mark.
But one more question, with that method i have to add the CATALINA_HOME
variable to the environment variables, don´t I?
I have seen that when you install Tomcat, if you press twice the icon of
Tomcat that appears on the task bar, there is a variable with the route of
maux wrote:
Hi,
I would like to know how can i catch the catalina_home variable in a java
code.
Thanks in advance.
System.getenv()
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL