tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <ralph.einfe...@uptime-isc.de>
Subject AW: how to set environment variable in tomcat?
Date Tue, 25 Jun 2002 08:30:46 GMT

getenv() and getProperty():
http://java.sun.com/j2se/1.4/docs/api/java/lang/System.html#getenv(java.
lang.String)
http://java.sun.com/j2se/1.4/docs/api/java/lang/System.html#getProperty(
java.lang.String)

Have a look at the startup scripts for tomcat for you platform.

> -----Urspr√ľngliche Nachricht-----
> Von: Johnny [mailto:keongwh@mimos.my]
> Gesendet: Dienstag, 25. Juni 2002 10:14
> An: Tomcat Users List
> Betreff: how to set environment variable in tomcat?
> 
>  Where can I find more detail guideline info about the startscript for
> tomcat, and API doc of System.getenv()?
> 
>  Actually, I'm trying to set my own defined environment variable -
> SSL_CLIENT_CERT in my jsp application. So that the 
> application can retrieve the certificate info from the smart card. 
> Can I just use <context-param>'s in web.xml. Which solution is
> much better?
> 

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


Mime
View raw message