> On Apr 3, 2015, at 11:29 AM, Stefan Seelmann <[email protected]> wrote:
> 
> Yes, that is what I meant. You can put an external context.xml (but
> named webappname.xml) to conf/Catalina/localhost/[webappname].xml.
> 
> In the context.xml you can then add arbitrary name/value pairs which can
> be read by ServletContext.getInitParameter():
> 
> <Context>
>  <Parameter name="..." value="..." />
> </Context>
> 
> We use this pattern @work and it works quite fine. However it seems this
> is very Tomcat specific, but maybe other servlet containers / JEE
> servers provide similar means to allow external configuration.

Great idea, and yes, that will work very well. Thanks for the help.

Shawn
[email protected]

Reply via email to