tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Veksler" <>
Subject Command line parameters inside webapps ?
Date Wed, 02 Apr 2008 15:28:51 GMT
Hello everyone,

Can I read from my webapp a command line parameters passed to tomcat
when it's loaded ?
Something of the "-Dsomeparameter=somevalue", alternatively can I get
access to environment variables passed to tomcat on it's
initialization from my webapp ?

What I'm trying to do is allow simple switch that can be passed to my
webapp that would instruct it whether it is running passive or active.

I've been googling for this and couldn't find any references to this.

Thank you,

Maxim Veksler

"Free as in Freedom" - Do u GNU ?

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message