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