2014-02-11 19:15 GMT+04:00 Konstantin Kolinko <knst.koli...@gmail.com>:
> 2014-02-11 18:57 GMT+04:00 Mark Thomas <ma...@apache.org>:
>> On 11/02/2014 14:38, Konstantin Kolinko wrote:
>>> 2014-02-11 17:32 GMT+04:00 Mark Thomas <ma...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to