https://issues.apache.org/bugzilla/show_bug.cgi?id=50700
--- Comment #3 from ch...@derham.me.uk 2011-02-08 04:12:56 EST --- Sergey's explanation is good, but just in case any more detail is required in how to reproduce it, here's the steps I take. Expand a tomcat distribution. Edit the <tomcat_home>\webapps\root\WEB-INF\web.xml file to become <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> <display-name>Welcome to Tomcat</display-name> <description> Welcome to Tomcat </description> <context-param> <param-name>initialDbPath</param-name> <param-value>a</param-value> </context-param> </web-app> then edit <tomcat_home>\conf\context.xml to become <Context> <Parameter name="initialDbPath" value="xyz" override="false"/> </Context> then add a new file <tomcat_home>\webapps\ROOT\test.jsp which contains <%@ page contentType="text/html; charset=UTF-8" %> <html> <body> <br>initialDbPath is : ${initParam.initialDbPath} </body> </html> The context.xml setting should override the web.xml setting, but this is not happening -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org