Maybe a generic servlet style scheme similar to this:
web.xml
<init-param>
<param-name>properties</param-name>
<param-value>/path/to/properties/file/webapp.properties</param-value>
</init-param>
use servlet config instance at servlet init() to load (once):
props =
(Properties)config.getServletContext().getAttribute("webapp.properties");
then retrieve (as needed):
props.getProperty(key);
-jeff
I would to be able to access terms stored in properties
files without needing a ServletRequest.
------------------------------------------------------------------------------
**********
The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of the
addressee. Unauthorized use, disclosure, distribution or copying is strictly
prohibited and may be unlawful. If you have received this communication in
error, please notify the sender immediately at (312)653-6000 in Illinois;
(972)766-6900 in Texas; or (800)835-8699 in New Mexico.
**********
==============================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]