system.property in web.xml

2005-08-25 Thread Davide Frigerio

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=affiliatesid=28607t=1
*



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: system.property in web.xml

2005-08-25 Thread Allistair Crossley
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:[EMAIL PROTECTED]
 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=affiliatesid=28607t=1
 *
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]