Is there a way I can specify an environment variable via the startup.sh that
I can then use System.getenv("MYWEBAPP_CONFIG_FILE");  to get it from within
my application?

I need to store a file outside of the webroot to read configuration from, so
that if a user changes this file, it will not get overwritten when an app is
re-deployed.

Thanks,
Mike.




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to