I have the following mappping:
<bean id="controllerMappingProperties" class="java.util.Properties">
<constructor-arg>
<props>
<prop key="/service/q-*-fltr-brand-_-*-find-html.html">redirectController</prop>
<prop key="/service/q">queryController</prop>
<prop key="/service/q-*.html">queryController</prop>
</props>
</constructor-arg>
</bean>
So the URL
http://localhost:8080/service/q-foo-fltr-brand-_-bar-find-html.html
should map to the redirectController but it maps to queryController.
If I change the first mapping to
<prop key="/service/q-*-fltr-brand-_-bar-find-html.html">redirectController</prop>`
or
<prop key="/service/q-foo-fltr-brand-_-*-find-html.html">redirectController</prop>
the mapping works correctly.
Using two single stars in the pattern works with other mappings, so that can't be the problem. What am I doing wrong?
Thanks for help!