JNDI Access from Java and Jython
February 22, 2010
When using Tomcat (or any other web servlet/JEE container) you can set up configuration variables in web.xml, and then refer to them from code. The value of this variable can be set by either hardcoding it in web.xml, or by setting a value in the Tomcat configuration files.
web.xml
In …