tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: Variable in server.xml
Date Thu, 13 Jan 2005 16:35:19 GMT
Make it
gipe.home=D:\\Projets\\GIPENV\\dist
    or
gipe.home=D:/Projets/GIPENV/dist

-Tim

Zakaria kHABOT wrote:

> I use Tomcat 5.0.25.
> in catalina.properties I put : gipe.home=D:\Projets\GIPENV\dist
> 
> in server.xml :
> <Context path="/GIPENV" reloadable="true" docBase="${gipe.home}"
> workDir="D:\\work\org\apache\jsp" />
> 
> But I doesn't work....
> 
> ----- Original Message -----
> From: "Tim Funk" <funkman@joedog.org>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Sent: Thursday, January 13, 2005 3:16 PM
> Subject: Re: Variable in server.xml
> 
> 
> 
>>You can only do this with tomcat 5.
>>
>>But the variable would be a system property. (Or a property defined in
>>catalina.properties)
>>
>>See the FAQ for how to set system properties on startup.
>>
>>
>>-Tim
>>
>>Zakaria kHABOT wrote:
>>
>>
>>>Hi all,
>>>How can I declare a variable in server.xml.
>>>Insitide of having path="C:\folder", I want to put this value in a
> 
> variable (var) and path=${var}.
>  il: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message