RE: Moving init params from web.xml to context.xml

2011-08-23 Thread Jeffrey Janner
If it helps generate a reply, I'm deploying into Tomcat 6.0.3x running under JDK 1.6.0_2x. -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Monday, August 22, 2011 3:12 PM To: 'Tomcat Users List' Subject: Moving init params from web.xml to

Re: Moving init params from web.xml to context.xml

2011-08-23 Thread Mark Shifman
from tomcat configuration docs http://tomcat.apache.org/tomcat-7.0-doc/config/context.html You can configure named values that will be made visible to the web application as servlet context initialization parameters by nesting Parameter elements inside this

Re: Moving init params from web.xml to context.xml

2011-08-23 Thread Marvin Addison
This is equivalent to the inclusion of the following element in the web application deployment descriptor (/WEB-INF/web.xml): context-param param-namecompanyName/param-name param-valueMy Company, Incorporated/param-value /context-param but does not require modification of the

RE: Moving init params from web.xml to context.xml

2011-08-23 Thread Jeffrey Janner
-Original Message- From: Marvin Addison [mailto:marvin.addi...@gmail.com] Sent: Tuesday, August 23, 2011 9:43 AM To: Tomcat Users List Subject: Re: Moving init params from web.xml to context.xml This is equivalent to the inclusion of the following element in the web application

Re: Moving init params from web.xml to context.xml

2011-08-23 Thread Marvin Addison
I can get with the Dev team and see if they are willing to re-code for the possibility (or even need to). It's a valuable change that dramatically increases your deployment options; well worth the effort IMO. M - To

Re: Moving init params from web.xml to context.xml

2011-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 8/23/2011 12:38 PM, Jeffrey Janner wrote: Thanks Marvin. That is what I was thinking, the two are separate entities, with separate methods of accessing them. Not being a developer, I wasn't positive though. I can get with the Dev