You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gert-Jan Kreeft <gj...@hotmail.com> on 2005/01/18 13:07:35 UTC

Context parameters in server.xml

I have a web-application configured in the server.xml of a Tomcat 4.1.30 
server. In the <Context> element I have a nested <Parameter> that can be 
accessed in my application code with:

ctx.getInitParameter("...")

This works fine, as long as I do not redeploy the web-application. When the 
webapp is redeployed the configured parameter is lost. Reloading the webapp 
with the Tomcat manager does not cause this problem.

Is this normal behaviour or is it a Tomcat bug?

_________________________________________________________________
MSN Webmessenger overal en altijd beschikbaar http://webmessenger.msn.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org