https://issues.apache.org/bugzilla/show_bug.cgi?id=50700

           Summary: Context parameters are being overridden with
                    parameters from the web application deployment
                    descriptor
           Product: Tomcat 6
           Version: 6.0.30
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: dx...@mail.ru


Context parameters are being overridden with parameters from the web
application deployment descriptor even through "override" attribute is set to
"false"

For example:
lines from context file
<Context path="/path" docBase="/path/to/docbase" cookies="true">
    <Parameter name="parameter_name" value="test1" override="false"/>
....
</Context>

lines from web.xml
    <context-param>
        <description>default value for parameter_name</description>
        <param-name>parameter_name</param-name>
        <param-value>test2</param-value>
    </context-param>

Now servletContext.getInitParameter("parameter_name") returns "test2"

-- 
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

Reply via email to