tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: [VOTE] Release Apache Tomcat 7.0.51
Date Tue, 11 Feb 2014 22:00:52 GMT
2014-02-11 19:15 GMT+04:00 Konstantin Kolinko <knst.kolinko@gmail.com>:
> 2014-02-11 18:57 GMT+04:00 Mark Thomas <markt@apache.org>:
>> On 11/02/2014 14:38, Konstantin Kolinko wrote:
>>> 2014-02-11 17:32 GMT+04:00 Mark Thomas <markt@apache.org>:
>>> I see you also took care of metadata-complete=\"true\". OK.
>>>
>>> The following also comes to mind:
>>> <filter-mapping>, <servlet-mapping> in 2.4  do not support multiple
>>> <url-pattern> elements.
>>>  (Each pattern needs its own <**-mapping> element).
>>

It does work successfully:
I expanded the test case to include conf/web.xml into the mix.

Our default conf/web.xml has an example of such usage:

    <servlet-mapping>
        <servlet-name>jsp</servlet-name>
        <url-pattern>*.jsp</url-pattern>
        <url-pattern>*.jspx</url-pattern>
    </servlet-mapping>

That is printed as two separate <servlet-mapping> elements by merged web.xml.
So we are OK here.


By the way, populating MERGED_WEB_XML context attribute in Tomcat 8
can be either removed or be made optional (off by default). Jasper no
longer needs it.
See "TODO" comment at ContextConfig line 1184.

Best regards,
Konstantin Kolinko

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


Mime
View raw message