tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <Allistair.Cross...@QAS.com>
Subject RE: system.property in web.xml
Date Thu, 25 Aug 2005 08:05:49 GMT
Hi,

This is not mandated by the Servlet specification. What you *could* do is write a servlet
that is mapped in web.xml and set init parameters for that servlet. Also set the load-on-startup
to 1. Then in the servlet init method you can extract the init parametes and call System.setProperty
for each.

Allistair.

> -----Original Message-----
> From: Davide Frigerio [mailto:davide.frigerio@wise-lab.it]
> Sent: 25 August 2005 08:00
> To: tomcat-user@jakarta.apache.org
> Subject: system.property in web.xml
> 
> 
> Hi,
>     I would ask to you if is possible to set a java 
> system.property for
> a web application by web.xml file application.
>  
> Thanks.
> 
> -- 
> 
> ------------------------------------------------------
> Davide Ing. Frigerio
> Wise-Lab S.r.l.
> c/o Polo Regionale di Como - Politecnico di Milano
> P.le Gerbetto, 6  -  22100 Como (Italy)
> Tel: +39 031 332 7362 - Fax: +39 031 332 7321
> Email: davide.frigerio/at/wise-lab.it
> Web: http://www.wise-lab.it - http://www.wisemodel.com
> ------------------------------------------------------
> 
> Leggi l'informativa in base all'art.13 del D.lgs. 30 giugno 
> 2003, 196 sul trattamento
> dei dati personali da parte di Wise-Lab: 
> http://www.wise-lab.it/info_privacy.htm
> 
> *****
> Scarica il nuovo web browser FireFox, l'alternativa SICURA ad 
> Internet Explorer: Get Firefox! 
> <http://www.spreadfirefox.com/?q=affiliates&id=28607&t=1>
> *****
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


---------------------------------------------------------------------
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