> -----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 deployment descriptor (/WEB-INF/web.xml): > > > > <context-param> > > <param-name>companyName</param-name> > > <param-value>My Company, Incorporated</param-value> > > </context-param> > > > > but does not require modification of the deployment descriptor to > customize this value. > > That's correct but there's no way afaik to map a context parameter > onto a servlet init parameter like these mentioned previously: > > > <servlet> > > ... > > <init-param> > > <param-name>SERVA_PROPS</param-name> > > <param-value>/WEB-INF/SERVA.properties</param-value> > > </init-param> > > </servlet> > > In my experience the servlet needs to search both context parameters > and init parameters for initialization. > > M
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 team and see if they are willing to re-code for the possibility (or even need to). __________________________________________________________________________ Confidentiality Notice: This Transmission (including any attachments) may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this transmission in error, please immediately reply to the sender or telephone (512) 343-9100 and delete this transmission from your system. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org