I would like to apply a filter to severl url endings. The next configuraiton seems to work.
<filter>
<filter-name>LanguageFilter</filter-name>
<filter-class>filters.LanguageFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>LanguageFilter</filter-name>
<url-pattern>*.do</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>LanguageFilter</filter-name>
<url-pattern>*.xml</url-pattern>
</filter-mapping>
Originally I asked if it was possible to use wildcards such as:
<url-pattern>*.do|*.xml</url-pattern>
But it does not seem to be possible.